CVE-2013-0269

NameCVE-2013-0269
DescriptionThe 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."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-215-1, DLA-263-1
Debian Bugs700436, 700471

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-json (PTS)buster2.1.0+dfsg-2+deb10u1fixed
bullseye2.3.0+dfsg-1fixed
trixie, bookworm, sid2.6.3+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libjson-rubysourcesqueeze1.1.9-1+deb6u1DLA-215-1
libjson-rubysource(unstable)(unfixed)
ruby-jsonsource(unstable)1.7.3-3700436
ruby1.8source(unstable)(not affected)
ruby1.9.1sourcesqueeze1.9.2.0-2+deb6u5DLA-263-1
ruby1.9.1source(unstable)1.9.3.194-7700471

Notes

- ruby1.8 <not-affected> (json ext not present in 1.8)

Search for package or bug name: Reporting problems