CVE-2013-0269
JSON gem has Improper Input Validation vulnerability
Reported by redhat · Published February 13, 2013
jruby is fixed in 1.7.3 (Maven Central)
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."
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.jruby:jruby | Maven Central | 1.7.3 |
| json | RubyGems | 1.7.7, 1.6.8, 1.5.5 |
| ruby-json | Ubuntu:14.04:LTS | 1.8.0-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Maven | org.jruby:jruby | 1.7.1 |
| n/a | n/a | * |
| RubyGems | json | 0, 1.6.0, 1.7.0 |
Timeline
- Feb 13, 2013 CVE Published
- Apr 23, 2020 PoC Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 5, 2026 Security Advisory (8 in total, the first dated here)
- Oct 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2013-0269
vulnetix vdb fixes CVE-2013-0269
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-0269/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2013:0701 vendor-advisoryx_refsource_REDHAT
- openSUSE-SU-2013:0603 vendor-advisoryx_refsource_SUSE
- APPLE-SA-2013-10-22-5 vendor-advisoryx_refsource_APPLE
- SSA:2013-075-01 vendor-advisoryx_refsource_SLACKWARE
- 52774 third-party-advisoryx_refsource_SECUNIA
- x_refsource_CONFIRM
- [rubyonrails-security] 20130211 Denial of Service and Unsafe Object Creation Vulnerability in JSON [CVE-2013-0269] mailing-listx_refsource_MLIST
- 90074 vdb-entryx_refsource_OSVDB
- x_refsource_CONFIRM
- 52902 third-party-advisoryx_refsource_SECUNIA
- RHSA-2013:0686 vendor-advisoryx_refsource_REDHAT
- 57899 vdb-entryx_refsource_BID
- [oss-security] 20130211 Denial of Service and Unsafe Object Creation Vulnerability in JSON [CVE-2013-0269] mailing-listx_refsource_MLIST
- x_refsource_MISC
- [oss-security] 20130211 Patch update for [CVE-2013-0269] mailing-listx_refsource_MLIST
- USN-1733-1 vendor-advisoryx_refsource_UBUNTU
- SUSE-SU-2013:0609 vendor-advisoryx_refsource_SUSE
- RHSA-2013:1028 vendor-advisoryx_refsource_REDHAT
- json-ruby-security-bypass(82010) vdb-entryx_refsource_XF
- RHSA-2013:1147 vendor-advisoryx_refsource_REDHAT
…and 5 more