Improper input validation in Ruby-Lang Ruby
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 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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.022 (82.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 82.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.022 · change: +0.003
Affected products
- Ruby-Lang Ruby — versions 1.8.7, 1.8.7-160, 1.8.7-173
Weakness classification (CWE)
References
- www.openwall.com/lists/oss-security/2011/07/12/14 (mailing-list, Patch)
- www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/ (Patch)
- bugzilla.redhat.com/show_bug.cgi (Patch)
- www.openwall.com/lists/oss-security/2011/07/20/16 (mailing-list, Patch)
- www.redhat.com/support/errata/RHSA-2011-1581.html (vendor-advisory)
- www.ruby-lang.org/en/news/2011/07/15/ruby-1-9-2-p290-is-released/ (Patch)
- svn.ruby-lang.org/cgi-bin/viewvc.cgi (Patch)
- svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog
- lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html (vendor-advisory, Patch)
- svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog