GitHub Advisoryadvisory · RubyGems
GHSA-x457-cw4h-hq5f JSON gem has Improper Input Validation vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2013-0269
- Ecosystem
- RubyGems
- Packages
- json
- Severity
- High
- Weaknesses
- CWE-20
- Reviewed
- 2020-06-16
Affected packages
• RubyGems json: < 1.5.5 → fixed in 1.5.5
• RubyGems json: >= 1.6.0, < 1.6.8 → fixed in 1.6.8
• RubyGems json: >= 1.7.0, < 1.7.7 → fixed in 1.7.7
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."
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0269 advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/82010 web
- https://github.com/flori/json package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2013-0269.yml web
- https://groups.google.com/group/rubyonrails-security/msg/d8e0db6e08c81428?dmode=source&output=gplain 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
- 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://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released 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.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