CVE-2013-0269
HIGH 7.5CVSS 2.0JSON gem has Improper Input Validation vulnerability
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."
- Published
- 13 Feb 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-x457-cw4h-hq5f
- Sources
- NVDJSONOSV GHSA-x457-cw4h-hq5fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.5.0:*:*:*:*:*:*:* |
= 1.5.0 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.5.1:*:*:*:*:*:*:* |
= 1.5.1 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.5.2:*:*:*:*:*:*:* |
= 1.5.2 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.5.3:*:*:*:*:*:*:* |
= 1.5.3 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.5.4:*:*:*:*:*:*:* |
= 1.5.4 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.6.0:*:*:*:*:*:*:* |
= 1.6.0 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.6.1:*:*:*:*:*:*:* |
= 1.6.1 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.6.2:*:*:*:*:*:*:* |
= 1.6.2 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.6.3:*:*:*:*:*:*:* |
= 1.6.3 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.6.4:*:*:*:*:*:*:* |
= 1.6.4 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.6.5:*:*:*:*:*:*:* |
= 1.6.5 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.6.6:*:*:*:*:*:*:* |
= 1.6.6 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.6.7:*:*:*:*:*:*:* |
= 1.6.7 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.7.0:*:*:*:*:*:*:* |
= 1.7.0 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.7.1:*:*:*:*:*:*:* |
= 1.7.1 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.7.2:*:*:*:*:*:*:* |
= 1.7.2 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.7.3:*:*:*:*:*:*:* |
= 1.7.3 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.7.4:*:*:*:*:*:*:* |
= 1.7.4 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.7.5:*:*:*:*:*:*:* |
= 1.7.5 | |
| NVD | rubygems | json_gemcpe:2.3:a:rubygems:json_gem:1.7.6:*:*:*:*:*:*:* |
= 1.7.6 | |
| OSV | RubyGems | json | < 1.5.5 | 1.5.5 |
| OSV | RubyGems | json | >= 1.6.0, < 1.6.8 | 1.6.8 |
| OSV | RubyGems | json | >= 1.7.0, < 1.7.7 | 1.7.7 |
References
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00001.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html · WEB
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html · WEB
- http://rhn.redhat.com/errata/RHSA-2013-0686.html · WEB
- http://rhn.redhat.com/errata/RHSA-2013-0701.html · WEB
- http://rhn.redhat.com/errata/RHSA-2013-1028.html · WEB
- http://rhn.redhat.com/errata/RHSA-2013-1147.html · WEB
- http://secunia.com/advisories/52075 · Vendor Advisory
- http://secunia.com/advisories/52774
- http://secunia.com/advisories/52902
- http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
- http://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released/ · Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2013/02/11/7 · WEB
- http://www.openwall.com/lists/oss-security/2013/02/11/8 · WEB
- http://www.osvdb.org/90074
- http://www.securityfocus.com/bid/57899
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862 · WEB
- http://www.ubuntu.com/usn/USN-1733-1 · WEB
- http://www.zweitag.de/en/blog/ruby-on-rails-vulnerable-to-mass-assignment-and-sql-injection · WEB
- https://exchange.xforce.ibmcloud.com/vulnerabilities/82010 · WEB
- https://groups.google.com/group/rubyonrails-security/msg/d8e0db6e08c81428?dmode=source&output=gplain · WEB
- https://puppet.com/security/cve/cve-2013-0269
- https://nvd.nist.gov/vuln/detail/CVE-2013-0269 · ADVISORY
- https://github.com/flori/json · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2013-0269.yml · WEB
- https://web.archive.org/web/20130228082541/http://www.securityfocus.com/bid/57899 · WEB
- https://web.archive.org/web/20160331131233/http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed · WEB
- https://web.archive.org/web/20160808163226/https://puppet.com/security/cve/cve-2013-0269 · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 13 Feb 2013)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)