Skip to content
CVE Tracker
Back

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…

Medium5.0EPSS 2.2%
Published
Updated
Reserved
Assigned by
redhat

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.

Scores

CVSS scores of CVE-2011-2705, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium5.0AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS (exploitation in 30 days)
2.2% · top 17% of all CVEs (3 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.

Weakness

Affected products

  • n/a

    • affected n/a

References (15)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2011-2705 badge
[![CVE-2011-2705](https://trackcve.app/badge/CVE-2011-2705.svg)](https://trackcve.app/cve/CVE-2011-2705)

Record last updated .