CVE-2011-2705

UnknownEPSS 1.95%

Last modified

CVE-2011-2705 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 1.95% chance of exploitation in the next 30 days.

Description

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.

Metrics

EPSS Probability
1.95%

77.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
Ruby-LangRuby<= 1.8.7-334
Ruby-LangRuby1.8.7P22
Ruby-LangRuby1.8.7-160
Ruby-LangRuby1.8.7-173
Ruby-LangRuby1.8.7-248
Ruby-LangRuby1.8.7-249
Ruby-LangRuby1.8.7-299
Ruby-LangRuby1.8.7-302
Ruby-LangRuby1.8.7-330
Ruby-LangRuby1.8.7-p21
Ruby-LangRuby1.9
Ruby-LangRuby1.9.0
Ruby-LangRuby1.9.0-0
Ruby-LangRuby1.9.0-1
Ruby-LangRuby1.9.0-2
Ruby-LangRuby1.9.0-20060415
Ruby-LangRuby1.9.0-20070709
Ruby-LangRuby1.9.1
Ruby-LangRuby1.9.2
Ruby-LangRuby1.9.2-p136
Ruby-LangRuby1.9.2-p180

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2011-2705?
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.
How severe is CVE-2011-2705?
Severity scoring for CVE-2011-2705 is pending analysis. The EPSS model estimates a 1.95% probability of exploitation in the next 30 days.
How do I fix CVE-2011-2705?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2011-2705?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST