CVE-2012-4522

NameCVE-2012-4522
DescriptionThe rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel 286 and Ruby 2.0.0 before r37163 allows context-dependent attackers to create files in unexpected locations or with unexpected names via a NUL byte in a file path.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-235-1
Debian Bugs690670

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+deb6u4DLA-235-1
ruby1.9.1source(unstable)1.9.3.194-3690670

Notes

- ruby1.8 <not-affected> (Only affects 1.9.x, see bug #690670)

Search for package or bug name: Reporting problems