CVE-2013-0269Rubygems Json Gem
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Rubygems · Rubygems Json Gem We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 2.0
- 7.5
- EPSS
- 13.9% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Feb 13, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
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
- Apply the vendor's security update for Json Gem.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | json |
< 1.5.5 |
1.5.5 |
gem "json", ">= 1.5.5" |
| RubyGems | json |
≥ 1.6.0 < 1.6.8 |
1.6.8 |
gem "json", ">= 1.6.8" |
| RubyGems | json |
≥ 1.7.0 < 1.7.7 |
1.7.7 |
gem "json", ">= 1.7.7" |
Per OSV / GitHub Advisories (GHSA-x457-cw4h-hq5f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubygems | json_gem | 1.5.0 |
| rubygems | json_gem | 1.5.1 |
| rubygems | json_gem | 1.5.2 |
| rubygems | json_gem | 1.5.3 |
| rubygems | json_gem | 1.5.4 |
| rubygems | json_gem | 1.6.0 |
| rubygems | json_gem | 1.6.1 |
| rubygems | json_gem | 1.6.2 |
| rubygems | json_gem | 1.6.3 |
| rubygems | json_gem | 1.6.4 |
| rubygems | json_gem | 1.6.5 |
| rubygems | json_gem | 1.6.6 |
| rubygems | json_gem | 1.6.7 |
| rubygems | json_gem | 1.7.0 |
| rubygems | json_gem | 1.7.1 |
| rubygems | json_gem | 1.7.2 |
| rubygems | json_gem | 1.7.3 |
| rubygems | json_gem | 1.7.4 |
| rubygems | json_gem | 1.7.5 |
| rubygems | json_gem | 1.7.6 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apple.com
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- secunia.com Vendor Advisory
- secunia.com
- secunia.com
- spreecommerce.com
- weblog.rubyonrails.org Vendor Advisory
- www.openwall.com
- www.openwall.com
- www.osvdb.org
- www.securityfocus.com
- www.slackware.com
- www.ubuntu.com
- www.zweitag.de
- exchange.xforce.ibmcloud.com
- groups.google.com
- puppet.com