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.
CVE-2011-2705 is a security vulnerability that . Impacting 1 product from ruby-lang organizations running these solutions should prioritize assessment and patching.
Documented in 2011, this vulnerability occurred amid the cloud computing expansion era, where traditional network perimeter security models were being reevaluated. Organizations were transitioning from isolated infrastructure to interconnected systems, creating new attack surfaces that vulnerabilities like this could exploit.
2011-08-05T21:55:04.530
2025-04-11T00:51:21.963
Deferred
CVSSv2: 5.0 (MEDIUM)
AV:N/AC:L/Au:N/C:P/I:N/A:N
10.0
2.9
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Application | ruby-lang | ruby | ≤ 1.8.7-334 | Yes |
| Application | ruby-lang | ruby | 1.8.7 | Yes |
| Application | ruby-lang | ruby | 1.8.7 | Yes |
| Application | ruby-lang | ruby | 1.8.7 | Yes |
| Application | ruby-lang | ruby | 1.8.7-160 | Yes |
| Application | ruby-lang | ruby | 1.8.7-173 | Yes |
| Application | ruby-lang | ruby | 1.8.7-248 | Yes |
| Application | ruby-lang | ruby | 1.8.7-249 | Yes |
| Application | ruby-lang | ruby | 1.8.7-299 | Yes |
| Application | ruby-lang | ruby | 1.8.7-302 | Yes |
| Application | ruby-lang | ruby | 1.8.7-330 | Yes |
| Application | ruby-lang | ruby | 1.8.7-p21 | Yes |
| Application | ruby-lang | ruby | 1.9 | Yes |
| Application | ruby-lang | ruby | 1.9 | Yes |
| Application | ruby-lang | ruby | 1.9.0 | Yes |
| Application | ruby-lang | ruby | 1.9.0 | Yes |
| Application | ruby-lang | ruby | 1.9.0-0 | Yes |
| Application | ruby-lang | ruby | 1.9.0-1 | Yes |
| Application | ruby-lang | ruby | 1.9.0-2 | Yes |
| Application | ruby-lang | ruby | 1.9.0-20060415 | Yes |
| Application | ruby-lang | ruby | 1.9.0-20070709 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.1 | Yes |
| Application | ruby-lang | ruby | 1.9.2 | Yes |
| Application | ruby-lang | ruby | 1.9.2 | Yes |
| Application | ruby-lang | ruby | 1.9.2-p136 | Yes |
| Application | ruby-lang | ruby | 1.9.2-p180 | Yes |
SecUtils normalizes and enriches National Vulnerability Database (NVD) records by standardizing vendor and product identifiers, aggregating vulnerability metadata from both NVD and MITRE sources, and providing structured context for security teams. For ruby-lang's affected products, we extract Common Platform Enumeration (CPE) data, Common Weakness Enumeration (CWE) classifications, CVSS severity metrics, and reference data to enable rapid vulnerability prioritization and asset correlation. This record contains no exploit code, proof-of-concept instructions, or attack methodologies—only defensive intelligence necessary for patch management, risk assessment, and security operations.