CVE-2014-4975

NameCVE-2014-4975
DescriptionOff-by-one error in the encodes function in pack.c in Ruby 1.9.3 and earlier, and 2.x through 2.1.2, when using certain format string specifiers, allows context-dependent attackers to cause a denial of service (segmentation fault) via vectors that trigger a stack-based buffer overflow.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-200-1, DSA-3157-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby2.1 (PTS)jessie, jessie (lts)2.1.5-2+deb8u14fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby1.8source(unstable)(not affected)
ruby1.9.1sourcesqueeze1.9.2.0-2+deb6u3DLA-200-1
ruby1.9.1sourcewheezy1.9.3.194-8.1+deb7u3DSA-3157-1
ruby1.9.1source(unstable)(unfixed)low
ruby2.0source(unstable)(unfixed)low
ruby2.1source(unstable)2.1.3-1low

Notes

- ruby1.8 <not-affected> (Vulnerable code not present in 1.8)
[wheezy] - ruby1.9.1 <no-dsa> (Minor issue)
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778

Search for package or bug name: Reporting problems