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."
What to do
Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | ruby-json | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | ruby-json | Not affected vulnerable_code_not_present | ||
| Debian 14 | ruby-json | Fixed | 1.7.3-3 | DEBIAN-CVE-2013-0269 |
| Debian 13 | ruby-json | Fixed | 1.7.3-3 | DEBIAN-CVE-2013-0269 |
| Debian 12 | ruby-json | Fixed | 1.7.3-3 | DEBIAN-CVE-2013-0269 |
| RubyGems library | json | Fixed | 1.7.7 | GHSA-x457-cw4h-hq5f |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://rhn.redhat.com/errata/RHSA-2013-0701.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html (vendor-advisory)
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html (vendor-advisory)
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-secu… (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2013-0686.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-1733-1 (vendor-advisory)
References
- http://rhn.redhat.com/errata/RHSA-2013-0701.html
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862
- http://secunia.com/advisories/52774
- http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
- https://groups.google.com/group/rubyonrails-security/msg/d8e0db6e08c81428?dmode=source&output=gplain
- http://www.osvdb.org/90074
- https://puppet.com/security/cve/cve-2013-0269
- http://secunia.com/advisories/52902
- http://rhn.redhat.com/errata/RHSA-2013-0686.html
- http://www.securityfocus.com/bid/57899
- http://www.openwall.com/lists/oss-security/2013/02/11/7
- http://www.zweitag.de/en/blog/ruby-on-rails-vulnerable-to-mass-assignment-and-sql-injection
- http://www.openwall.com/lists/oss-security/2013/02/11/8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.