Live threats

All CVEs / Rubygems

CVE-2013-0269Rubygems Json Gem

High 7.5 No auth neededHigh EPSS

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."

Original NVD text.

What to do

  1. Apply the vendor's security update for Json Gem.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
rubygemsjson_gem1.5.0
rubygemsjson_gem1.5.1
rubygemsjson_gem1.5.2
rubygemsjson_gem1.5.3
rubygemsjson_gem1.5.4
rubygemsjson_gem1.6.0
rubygemsjson_gem1.6.1
rubygemsjson_gem1.6.2
rubygemsjson_gem1.6.3
rubygemsjson_gem1.6.4
rubygemsjson_gem1.6.5
rubygemsjson_gem1.6.6
rubygemsjson_gem1.6.7
rubygemsjson_gem1.7.0
rubygemsjson_gem1.7.1
rubygemsjson_gem1.7.2
rubygemsjson_gem1.7.3
rubygemsjson_gem1.7.4
rubygemsjson_gem1.7.5
rubygemsjson_gem1.7.6

Official sources

References

Links published by the sources. Open them with care.