{"id":"CVE-2013-0269","aliases":["DEBIAN-CVE-2013-0269","DLA-215-1","DLA-263-1","EUVD-2017-0327","GHSA-x457-cw4h-hq5f","RHSA-2013:0701","UBUNTU-CVE-2013-0269"],"status":"published","title":"JSON gem has Improper Input Validation vulnerability","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.\"","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.13911,"percentile":0.96564,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2013-02-12T00:00:00Z","modified":"2026-09-01T20:03:11Z","exploits":[{"source":"pocgithub","id":"heroku/heroku-CVE-2013-0269","title":"heroku/heroku-CVE-2013-0269","date":"2013-02-11","url":"https://github.com/heroku/heroku-CVE-2013-0269"}],"fixes":[{"ecosystem":"RubyGems","package":"json","fixed_in":["1.5.5","1.6.8","1.7.7"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ruby-json","fixed_in":["1.7.3-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ruby-json","fixed_in":["1.7.3-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ruby-json","fixed_in":["1.7.3-3"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"libjson-ruby","fixed_in":["1.1.9-1+deb6u1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.5"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.8"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.7"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.3-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.3-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.3-3"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"libjson-ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.9-1+deb6u1"}]}],"versions":["1.1.9-1"]},{"source":"osv","ecosystem":"Debian:6.0","package":"ruby1.9.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.2.0-2+deb6u5"}]}],"versions":["1.9.2.0-2","1.9.2.0-2+armhf"],"bundled":2},{"source":"osv","ecosystem":"RubyGems","package":"json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.5"}]}],"versions":["0.4.0","0.4.1","0.4.2","0.4.3","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4"]},{"source":"osv","ecosystem":"RubyGems","package":"json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.8"}]}],"versions":["1.6.0","1.6.0.1","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7"]},{"source":"osv","ecosystem":"RubyGems","package":"json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.7"}]}],"versions":["1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6"]},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.9.3.327-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-ruby-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.9.3.327-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-ruby-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.9.3.327-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-ruby-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.9.3.327-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-ruby-irb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.9.3.327-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-ruby-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.9.3.327-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-ruby-tcltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.9.3.327-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-bigdecimal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.0-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-io-console","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.5.4-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-minitest","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.1-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-rake","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.9.2.2-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-rdoc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.9.4-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygems","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.23-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygems-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.23-28.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"rubygem-json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.7.3-2.el6op"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"rubygem-json-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.7.3-2.el6op"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"rubygem-json-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.7.3-2.el6op"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"rubygem-rdoc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8-9.el6op"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"rubygem-rdoc-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.8-9.el6op"}]}],"bundled":2}],"products":[{"vendor":"rubygems","product":"json_gem"}],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2013-0701.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://www.slackware.com/security/viewer.php?l=slackware-security\u0026y=2013\u0026m=slackware-security.426862","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred","web"]},{"url":"http://secunia.com/advisories/52774","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed","tags":["x_refsource_CONFIRM","x_transferred","article"]},{"url":"https://groups.google.com/group/rubyonrails-security/msg/d8e0db6e08c81428?dmode=source\u0026output=gplain","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.osvdb.org/90074","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://puppet.com/security/cve/cve-2013-0269","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/52902","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0686.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.securityfocus.com/bid/57899","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/02/11/7","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.zweitag.de/en/blog/ruby-on-rails-vulnerable-to-mass-assignment-and-sql-injection","tags":["x_refsource_MISC","x_transferred","article","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/02/11/8","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/USN-1733-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00001.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1028.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/82010","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1147.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/52075","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0269","tags":["advisory"]},{"url":"https://web.archive.org/web/20130228082541/http://www.securityfocus.com/bid/57899","tags":["web"]},{"url":"https://web.archive.org/web/20160331131233/http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed","tags":["web"]},{"url":"https://web.archive.org/web/20160808163226/https://puppet.com/security/cve/cve-2013-0269","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2013-0269.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x457-cw4h-hq5f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-0269","tags":["advisory"]},{"url":"https://github.com/flori/json","tags":["package"]},{"url":"http://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0701","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=907820","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=909029","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0701.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-0256","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-0256","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0256","tags":["advisory"]},{"url":"http://www.ruby-lang.org/en/news/2013/02/06/rdoc-xss-cve-2013-0256/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-0269","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-0269","tags":["advisory","report"]},{"url":"http://www.ruby-lang.org/en/news/2013/02/22/json-dos-cve-2013-0269/","tags":["article"]},{"url":"https://ubuntu.com/security/CVE-2013-0269","tags":["report"]},{"url":"https://groups.google.com/forum/#!topic/rubyonrails-security/4_YvCpLzL58","tags":["report"]},{"url":"https://groups.google.com/forum/#!topic/rubyonrails-security/Bdidw60q3C8","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-1733-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2013-0269","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.\"","status":"published","published":"2013-02-13T01:00:00Z","modified":"2024-08-06T14:18:09.563Z","updated_at":"2026-11-02T14:34:59.872731Z"}],"euvd":[{"id":"EUVD-2017-0327","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.\"","status":"published","published":"2013-02-13T01:00:00Z","modified":"2024-08-06T14:18:09Z","updated_at":"2026-11-03T01:56:45.704567Z"}],"ghsa":[{"id":"GHSA-x457-cw4h-hq5f","title":"JSON gem has Improper Input Validation vulnerability","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.\"","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-11-06T05:00:25Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:14.234712Z"}],"nvd":[{"id":"CVE-2013-0269","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.\"","status":"published","published":"2013-02-13T01:55:05.107Z","modified":"2026-06-16T23:49:05.64Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:21.222658Z"}],"osv":[{"id":"RHSA-2013:0701","title":"Red Hat Security Advisory: ruby193-ruby, rubygem-json and rubygem-rdoc security update","status":"published","published":"2024-09-15T20:40:20Z","modified":"2026-04-28T10:01:40Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:01.993625Z"},{"id":"CVE-2013-0269","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.\"","status":"published","published":"2013-02-13T01:55:05Z","modified":"2026-04-10T03:43:17.226868Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2013-0269","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.\"","status":"published","published":"2013-02-13T01:55:05.107Z","modified":"2026-09-01T20:03:11.516719119Z","updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"DLA-215-1","title":"libjson-ruby - security update","status":"published","published":"2015-04-30T00:00:00Z","modified":"2026-03-09T01:20:34.563019Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"DLA-263-1","title":"ruby1.9.1 - security update","status":"published","published":"2015-06-30T00:00:00Z","modified":"2026-03-09T01:22:01.648414Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"GHSA-x457-cw4h-hq5f","title":"JSON gem has Improper Input Validation vulnerability","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.\"","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-12-05T05:39:59.197079Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"UBUNTU-CVE-2013-0269","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.\"","status":"withdrawn","published":"2013-02-12T00:00:00Z","modified":"2026-02-04T02:56:01.344648Z","updated_at":"2026-11-02T15:54:06.854805Z"}]}}
