Improper input validation in Rubygems JSON Gem
CVE-2013-0269
The JSON gem before 1.5.5, 1.6.x before 1.6.8, and 1.7.x before 1.7.7 for Ruby allows remote attackers to cause a denial of service (resource consumption) or bypass the mass assignment protection mechanism via a crafted JSON document that triggers the creation of arbitrary Ruby symbols or certain internal objects, as demonstrated by conducting a SQL injection attack against Ruby on Rails, aka "Unsafe Object Creation Vulnerability."
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.139, 96.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubygems JSON Gem — versions 1.5.0, 1.5.1, 1.5.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- heroku/heroku-CVE-2013-0269 (2 stars, last pushed 2026-06-03): Inspect all of your Heroku apps for vulnerable versions of the JSON gem
- danring/heroku-CVE-2013-0269
Also mentioned in 14 other repositories (0xT11/CVE-POC, ARPSyndicate/cvemon, cyberanand1337x/bug-bounty-2022, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2013:0701 (vendor-advisory)
- openSUSE-SU-2013:0603 (vendor-advisory)
- APPLE-SA-2013-10-22-5 (vendor-advisory)
- SSA:2013-075-01 (vendor-advisory)
- secunia.com/advisories/52774 (third-party-advisory)
- spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
- [rubyonrails-security] 20130211 Denial of Service and Unsafe Object Creation Vulnerability in JSON [CVE-2013-0269] (mailing-list)
- www.osvdb.org/90074 (vdb-entry)
- puppet.com/security/cve/cve-2013-0269
- secunia.com/advisories/52902 (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.