CVE-2011-2705

NameCVE-2011-2705
DescriptionThe 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.
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, DLA-88-1
Debian Bugs635878

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby1.8sourcesqueeze1.8.7.302-2squeeze3DLA-88-1
ruby1.8source(unstable)1.8.7.352-1low635878
ruby1.9.1sourcesqueeze1.9.2.0-2+deb6u4DLA-235-1
ruby1.9.1source(unstable)1.9.3~preview1-1low

Search for package or bug name: Reporting problems