CVE-2013-1802 json
extlib does not properly restrict casts of string values
published 2013-04-09 13 y ago modified 2026-06-16 4 mo ago also GHSA-9h36-4jf2-hx53 , EUVD-2017-0204
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems extlib 0.9.16
- ruby-extlib Debian 14, Debian 13, Debian 12 0.9.15-3
debian advisories DEBIAN-CVE-2013-1802
Vendor 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-1802 updated cvss 7.5
rubygem-extlib: 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
3.42% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/datamapper/extlib/compare/b4f98174ec35ac96f76a08d5624fad05d22879b5...4540e7102b803624cc2eade4bb8aaaa934fc31c5 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 | extlib | <0.9.16 |
0.9.16 |
Classification
References
-
github.com
/datamapper/extlib/compare/b4f98174ec35ac96f76a08d5624fad05d22879b5...4540e7102b803624cc2eade4bb8aaaa934fc31c5
web, exploit, patch
-
lists.opensuse.org
/opensuse-security-announce/2013-04/msg00002.html
vendor-advisory, web
- support.cloud.engineyard.com /entries/22915701-january-14-2013-security-vulnerabilities-httparty-extlib-crack-nori-update-these-gems-immedi
-
bugzilla.redhat.com
/show_bug.cgi?id=917233
web
-
nvd.nist.gov
/vuln/detail/CVE-2013-1802
advisory
-
github.com
/datamapper/extlib
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/extlib/CVE-2013-1802.yml
web
-
web.archive.org
/web/20130203232028/https://support.cloud.engineyard.com/entries/22915701-january-14-2013-security-vulnerabili
web
Sources
- CVE List CVE-2013-1802
- GitHub Advisory GHSA-9h36-4jf2-hx53
- NVD CVE-2013-1802
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.