kbrain

CVE-2011-2705

MEDIUM · CVSS 5.0EPSS 2.2%EU EUVD

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.

Key facts

CVSS score
5.0 (v2.0)
Severity
MEDIUM
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness (CWE)
CWE-20
EPSS score
2.2% (83th percentile)
In CISA KEV
No
In EU EUVD
Yes (EUVD-2011-2686)
Published
August 5, 2011
NVD last modified
June 16, 2026
Status
Modified

EU Vulnerability Database (EUVD)

This vulnerability is also tracked by ENISA as EUVD-2011-2686 in the EU Vulnerability Database. Last updated in EUVD on August 6, 2024.

View on the EU Vulnerability Database

Affected products

  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby
  • ruby-lang / ruby

References

Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS

Query CVEs from your AI assistant

The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.

Add the CVE brain