CVE-2013-1801 json
HTTParty does not restrict casts of string values
published 13y ago modified 4mo ago also GHSA-mgx3-27hr-mfgp , EUVD-2017-0272
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2013-1801 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-1801 updated cvss 7.5
rubygem-httparty: YAML parameter parsing vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.41% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/jnunemaker/httparty/commit/53a812426dd32108d6cba4272b493aa03bc8c031 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | httparty | <0.10.0 |
0.10.0 |
Classification
References
-
github.com
/jnunemaker/httparty/commit/53a812426dd32108d6cba4272b493aa03bc8c031
web, exploit, patch
-
support.cloud.engineyard.com
/entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immedi
web
-
bugzilla.redhat.com
/show_bug.cgi?id=917229
web
-
securityfocus.com
/bid/58260
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2013-1801
advisory
-
github.com
/jnunemaker/httparty
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/httparty/CVE-2013-1801.yml
web
-
web.archive.org
/web/20200229101716/http://www.securityfocus.com/bid/58260
web
Sources
- CVE List CVE-2013-1801
- GitHub Advisory GHSA-mgx3-27hr-mfgp
- NVD CVE-2013-1801
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.