{"cve":"CVE-2011-2705","nvd":{"published":"2011-08-05T21:55:04.530","modified":"2026-06-16T23:31:50.220","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-20"],"references":["http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html","http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html","http://redmine.ruby-lang.org/issues/4579","http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=32050","http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog"],"products":["ruby-lang:ruby"],"source":"nvd","synced_at":"2026-10-19T19:58:50.521460154+00:00"},"epss":{"cve":"CVE-2011-2705","score":0.02248,"percentile":0.82888,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}