CVE-2011-2705
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Ruby-Lang | Ruby | <= 1.8.7-334 | — |
| Ruby-Lang | Ruby | 1.8.7 | P22 |
| Ruby-Lang | Ruby | 1.8.7-160 | — |
| Ruby-Lang | Ruby | 1.8.7-173 | — |
| Ruby-Lang | Ruby | 1.8.7-248 | — |
| Ruby-Lang | Ruby | 1.8.7-249 | — |
| Ruby-Lang | Ruby | 1.8.7-299 | — |
| Ruby-Lang | Ruby | 1.8.7-302 | — |
| Ruby-Lang | Ruby | 1.8.7-330 | — |
| Ruby-Lang | Ruby | 1.8.7-p21 | — |
| Ruby-Lang | Ruby | 1.9 | — |
| Ruby-Lang | Ruby | 1.9.0 | — |
| Ruby-Lang | Ruby | 1.9.0-0 | — |
| Ruby-Lang | Ruby | 1.9.0-1 | — |
| Ruby-Lang | Ruby | 1.9.0-2 | — |
| Ruby-Lang | Ruby | 1.9.0-20060415 | — |
| Ruby-Lang | Ruby | 1.9.0-20070709 | — |
| Ruby-Lang | Ruby | 1.9.1 | — |
| Ruby-Lang | Ruby | 1.9.2 | — |
| Ruby-Lang | Ruby | 1.9.2-p136 | — |
| Ruby-Lang | Ruby | 1.9.2-p180 | — |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2011-2705?
How severe is CVE-2011-2705?
How do I fix CVE-2011-2705?
Are you affected by CVE-2011-2705?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
