Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2011-2705

18
FAUCET Score

CVE-2011-2705 describes a weakness in the SecureRandom.random_bytes function within Ruby versions before 1.8.7-p352 and 1.9.x before 1.9.2-p290. This vulnerability arises because the function's initialization relies on predictable Process ID (PID) values, making it easier for attackers to guess subsequent "random" strings if they know a previous one generated by the same process. The vulnerability has a CVSS score of 5.0 (Medium), indicating a network-based attack with low complexity, requiring no authentication, and primarily impacting confidentiality by allowing information disclosure. While the EPSS score is low, suggesting a low probability of exploitation, the FAUCET Risk Score is 17/100. There is no evidence of active exploitation, nor are there known Metasploit modules, Nuclei templates, or ExploitDB entries. Community discussion and media coverage are minimal, suggesting a lack of widespread attention or exploitation.

Impacted Technologies

VendorProductVersion(s)CPE
<= 1.8.7-334CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
1.8.7CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*
1.8.7CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*
1.8.7CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*
1.8.7-160CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

5.0MEDIUM

AV:N/AC:L/Au:N/C:P/I:N/A:N

Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Exploitability Score
10.0
Impact Score
2.9
CvssVersion
2.0

Exploit Intelligence

EPSS Score
1.95%
Probability of exploitation in next 30 days
EPSS Percentile
78.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0195 is in the 66th percentile among its peer group of 23,703 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (5)

fedorapatch availablevia nvd_reference
View patch
redhatpatch availablevia nvd_reference
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: ruby-0:1.8.7.352-3.el6
View patch
redhatno patchvia redhat_api
Product: Red Hat Enterprise Linux 4Fixed in: ruby
redhatno patchvia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: ruby

Vendor Advisories (1)

redhatCVE-2011-2705Low

ruby: Properly initialize the random number generator when forking new process

Jul 2, 2011

References

lists.fedoraproject.org / pipermail/package-announce/2011-July/063062.html
Patch
lists.fedoraproject.org / pipermail/package-announce/2011-July/063071.html
redmine.ruby-lang.org / issues/4579
bugzilla.redhat.com / show_bug.cgi
Patch
svn.ruby-lang.org / cgi-bin/viewvc.cgi
Patch
svn.ruby-lang.org / repos/ruby/tags/v1_8_7_352/ChangeLog
svn.ruby-lang.org / repos/ruby/tags/v1_9_2_290/ChangeLog
openwall.com / lists/oss-security/2011/07/11/1
Patch
openwall.com / lists/oss-security/2011/07/12/14
Patch
openwall.com / lists/oss-security/2011/07/20/1
Patch
openwall.com / lists/oss-security/2011/07/20/16
Patch
redhat.com / support/errata/RHSA-2011-1581.html
ruby-lang.org / en/news/2011/07/02/ruby-1-8-7-p352-released
Patch
ruby-lang.org / en/news/2011/07/15/ruby-1-9-2-p290-is-released
Patch
securityfocus.com / bid/49015