CVE-2013-0269
JSON gem has Improper Input Validation vulnerability
CVE-2013-0269 is a high vulnerability (CVSS 7.5) in Rubygems Json Gem, published February 12, 2013. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 13.9%, the 96th percentile. Fixed in json 1.5.5.
- Severity
- 7.5 HighCVSS 2.0, NVD
- Exploit chance
- 13.9%EPSS, 96th percentile
- Exploitation
- None known1 public exploit
- Fixed in
1.5.5json +30 more
Description
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."
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jsonRubyGems | before 1.5.5 | 1.5.5 |
jsonRubyGems | 1.6.0 up to 1.6.8 | 1.6.8 |
jsonRubyGems | 1.7.0 up to 1.7.7 | 1.7.7 |
ruby-jsonDebian:12 | before 1.7.3-3 | 1.7.3-3 |
ruby-jsonDebian:13 | before 1.7.3-3 | 1.7.3-3 |
ruby-jsonDebian:14 | before 1.7.3-3 | 1.7.3-3 |
libjson-rubyDebian:6.0 | before 1.1.9-1+deb6u1, plus listed versions 1.1.9-1 | 1.1.9-1+deb6u1 |
ruby1.9.1Debian:6.0 From an advisory covering 2 CVEs | before 1.9.2.0-2+deb6u5, plus listed versions 1.9.2.0-21.9.2.0-2+armhf | 1.9.2.0-2+deb6u5 |
jsonRubyGems | before 1.5.5, plus listed versions 0.4.00.4.10.4.20.4.31.0.0 Show 31 moreShow less1.0.11.0.21.0.31.0.41.1.01.1.11.1.21.1.31.1.41.1.51.1.61.1.71.1.81.1.91.2.01.2.11.2.21.2.31.2.41.4.01.4.11.4.21.4.31.4.41.4.51.4.61.5.01.5.11.5.21.5.31.5.4 | 1.5.5 |
jsonRubyGems | 1.6.0 up to 1.6.8, plus listed versions 1.6.0.11.6.11.6.21.6.31.6.41.6.51.6.61.6.7 | 1.6.8 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
jsonRubyGems | 1.7.0 up to 1.7.7, plus listed versions 1.7.11.7.21.7.31.7.41.7.51.7.6 | 1.7.7 |
ruby193-rubyRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-debuginfoRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-develRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-docRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-irbRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-libsRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-ruby-tcltkRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.9.3.327-28.el6 | 0:1.9.3.327-28.el6 |
ruby193-rubygem-bigdecimalRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.1.0-28.el6 | 0:1.1.0-28.el6 |
ruby193-rubygem-io-consoleRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:0.3-28.el6 | 0:0.3-28.el6 |
ruby193-rubygem-jsonRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.5.4-28.el6 | 0:1.5.4-28.el6 |
ruby193-rubygem-minitestRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:2.5.1-28.el6 | 0:2.5.1-28.el6 |
ruby193-rubygem-rakeRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:0.9.2.2-28.el6 | 0:0.9.2.2-28.el6 |
ruby193-rubygem-rdocRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:3.9.4-28.el6 | 0:3.9.4-28.el6 |
ruby193-rubygemsRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.8.23-28.el6 | 0:1.8.23-28.el6 |
ruby193-rubygems-develRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.8.23-28.el6 | 0:1.8.23-28.el6 |
rubygem-jsonRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.7.3-2.el6op | 0:1.7.3-2.el6op |
rubygem-json-debuginfoRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.7.3-2.el6op | 0:1.7.3-2.el6op |
rubygem-json-docRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:1.7.3-2.el6op | 0:1.7.3-2.el6op |
rubygem-rdocRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:3.8-9.el6op | 0:3.8-9.el6op |
rubygem-rdoc-docRed Hat:openshift:1::el6 From an advisory covering 2 CVEs | before 0:3.8-9.el6op | 0:3.8-9.el6op |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | heroku/heroku-CVE-2013-0269 | 2013-02-11 |
What each source reports
NVD Score used 7.5
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."
- Record
CVE-2013-0269- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE ListNo score
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."
- Record
CVE-2013-0269- Updated
- 2026-11-02
EUVDEUVD-2017-0327No score
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."
- Record
EUVD-2017-0327- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x457-cw4h-hq5fNo score
JSON 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."
- Record
GHSA-x457-cw4h-hq5f- Weakness
- CWE-20
- Updated
- 2026-11-02
OSVRHSA-2013:0701 5.4
Red Hat Security Advisory: ruby193-ruby, rubygem-json and rubygem-rdoc security update
- Record
RHSA-2013:0701- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVNo score
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."
- Record
CVE-2013-0269- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-0269No score
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."
- Record
DEBIAN-CVE-2013-0269- Updated
- 2026-11-02
OSVGHSA-x457-cw4h-hq5fNo score
JSON 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."
- Record
GHSA-x457-cw4h-hq5f- Weakness
- CWE-20
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2013-0269No score
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."
- Record
UBUNTU-CVE-2013-0269- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
rhn.redhat.com/errata/RHSA-2013-0701.html
lists.opensuse.org/opensuse-updates/2013-04/msg00034.html
lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862
secunia.com/advisories/52774
spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
Show 40 moreShow less
groups.google.com/group/rubyonrails-security/msg/d8e0db6e08c81428?dmode=source&output=gplain
osvdb.org/90074
puppet.com/security/cve/cve-2013-0269
secunia.com/advisories/52902
rhn.redhat.com/errata/RHSA-2013-0686.html
securityfocus.com/bid/57899
openwall.com/lists/oss-security/2013/02/11/7
zweitag.de/en/blog/ruby-on-rails-vulnerable-to-mass-assignment-and-sql-injection
openwall.com/lists/oss-security/2013/02/11/8
ubuntu.com/usn/USN-1733-1
lists.opensuse.org/opensuse-security-announce/2013-04/msg00001.html
rhn.redhat.com/errata/RHSA-2013-1028.html
exchange.xforce.ibmcloud.com/vulnerabilities/82010
rhn.redhat.com/errata/RHSA-2013-1147.html
weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released
secunia.com/advisories/52075
lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html
nvd.nist.gov/vuln/detail/CVE-2013-0269
web.archive.org/web/20130228082541/http://www.securityfocus.com/bid/57899
web.archive.org/web/20160331131233/http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
web.archive.org/web/20160808163226/https://puppet.com/security/cve/cve-2013-0269
github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2013-0269.yml
github.com/advisories/GHSA-x457-cw4h-hq5f
security-tracker.debian.org/tracker/CVE-2013-0269
github.com/flori/json
access.redhat.com/errata/RHSA-2013:0701
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=907820
bugzilla.redhat.com/show_bug.cgi?id=909029
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0701.json
access.redhat.com/security/cve/CVE-2013-0256
cve.org/CVERecord?id=CVE-2013-0256
nvd.nist.gov/vuln/detail/CVE-2013-0256
ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256
access.redhat.com/security/cve/CVE-2013-0269
cve.org/CVERecord?id=CVE-2013-0269
ruby-lang.org/en/news/2013/02/22/json-dos-cve-2013-0269
ubuntu.com/security/CVE-2013-0269
groups.google.com/forum
ubuntu.com/security/notices/USN-1733-1