Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2012-4522

Publication date 15 October 2012

Last updated 24 July 2024


Ubuntu priority

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

Read the notes from the security team

Status

Package Ubuntu Release Status
ruby1.8 12.10 quantal
Not affected
12.04 LTS precise
Not affected
11.10 oneiric
Not affected
11.04 natty
Not affected
10.04 LTS lucid
Not affected
8.04 LTS hardy Ignored
ruby1.9 12.10 quantal Not in release
12.04 LTS precise Not in release
11.10 oneiric Not in release
11.04 natty Not in release
10.04 LTS lucid
Not affected
8.04 LTS hardy Ignored
ruby1.9.1 12.10 quantal
Fixed 1.9.3.194-1ubuntu1.2
12.04 LTS precise
Fixed 1.9.3.0-1ubuntu2.4
11.10 oneiric
Not affected
11.04 natty
Not affected
10.04 LTS lucid
Not affected
8.04 LTS hardy Not in release

Notes


seth-arnold

open("foo\0bar", "w") { |f| f.puts "hai" } # look for 'foo'

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
ruby1.9.1

References

Related Ubuntu Security Notices (USN)

Other references