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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2011
- CVE-2011-2699The IPv6 implementation in the Linux kernel before 3.1 does …7.5
- CVE-2011-2700Multiple buffer overflows in the si4713_write_econtrol_strin…
- CVE-2011-2701The ocsp_check function in rlm_eap_tls.c in FreeRADIUS 2.1.1…
- CVE-2011-2702Integer signedness error in Glibc before 2.13 and eglibc bef…
- CVE-2011-2703Multiple SQL injection vulnerabilities in MapServer before 4…
- CVE-2011-2704Stack-based buffer overflow in MapServer before 4.10.7 and 5…
- CVE-2011-2706A Cross-Site Scripting (XSS) vulnerability exists in the reo…6.1
- CVE-2011-2707The ptrace_setxregs function in arch/xtensa/kernel/ptrace.c …6
- CVE-2011-2708Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2011-2709libgssapi and libgssglue before 0.4 do not properly check pr…
- CVE-2011-2710Multiple cross-site scripting (XSS) vulnerabilities in Jooml…
- CVE-2011-2711Cross-site scripting (XSS) vulnerability in the print_filein…
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
