CVE-2011-2705

Publication date 5 August 2011

Last updated 24 July 2024


Ubuntu priority

The SecureRandom.random_bytes function in lib/securerandom.rb in Ruby before 1.8.7-p352 and 1.9.x before 1.9.2-p290 relies on PID values for initialization, which makes it easier for context-dependent attackers to predict the result string by leveraging knowledge of random strings obtained in an earlier process with the same PID.

Status

Package Ubuntu Release Status
ruby1.8 13.10 saucy
Not affected
13.04 raring
Not affected
12.10 quantal
Not affected
12.04 LTS precise
Not affected
11.10 oneiric
Not affected
11.04 natty
Fixed 1.8.7.302-2ubuntu0.1
10.10 maverick
Fixed 1.8.7.299-2ubuntu0.1
10.04 LTS lucid
Fixed 1.8.7.249-2ubuntu0.1
8.04 LTS hardy Ignored end of life
ruby1.9 13.10 saucy Not in release
13.04 raring Not in release
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.10 maverick Not in release
10.04 LTS lucid Ignored end of life
8.04 LTS hardy Ignored end of life
ruby1.9.1 13.10 saucy
Not affected
13.04 raring
Not affected
12.10 quantal
Not affected
12.04 LTS precise
Not affected
11.10 oneiric
Not affected
11.04 natty Ignored end of life
10.10 maverick Ignored end of life
10.04 LTS lucid Ignored end of life
8.04 LTS hardy Not in release

Patch details

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

Package Patch details
ruby1.8

References

Related Ubuntu Security Notices (USN)

    • USN-1377-1
    • Ruby vulnerabilities
    • 28 February 2012

Other references