Skip to content
Fencer Intel
medium 5.0

CVE-2011-3009 json

Ruby before 1.8.6-p114 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the va…

published 2011-08-05 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-2977

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

Ruby before 1.8.6-p114 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900.

Patch / fix

  • ruby4.0 hummingbird 1 4.0.0-33.3.hum1
  • ruby4.0-libs hummingbird 1 4.0.0-33.3.hum1
  • ruby4.0-bundled-gems hummingbird 1 4.0.0-33.3.hum1
  • ruby4.0-default-gems hummingbird 1 4.0.0-33.3.hum1
  • ruby3.3 hummingbird 1 3.3.10-23.1.hum1
  • ruby3.3-libs hummingbird 1 3.3.10-23.1.hum1
  • ruby3.3-bundled-gems hummingbird 1 3.3.10-23.1.hum1
  • ruby3.3-default-gems hummingbird 1 3.3.10-23.1.hum1

red hat advisories RHSA-2026:8838RHSA-2026:7305RHSA-2026:7307RHSA-2012:0070RHSA-2011:1581

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2011-3009 updated cvss 2.1

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

  • Red Hat Enterprise Linux (v. 5 server) ruby 1.8.5-22.el5_7.1, ruby-ri 1.8.5-22.el5_7.1, ruby-irb 1.8.5-22.el5_7.1, ruby-libs 1.8.5-22.el5_7.1, ruby-mode 1.8.5-22.el5_7.1, ruby-rdoc 1.8.5-22.el5_7.1, +1 more Red Hat Enterprise Linux AS version 4 irb 1.8.1-18.el4, ruby 1.8.1-18.el4, ruby-libs 1.8.1-18.el4, ruby-mode 1.8.1-18.el4, ruby-tcltk 1.8.1-18.el4 Red Hat Enterprise Linux Desktop (v. 5 client) ruby 1.8.5-22.el5_7.1, ruby-ri 1.8.5-22.el5_7.1, ruby-irb 1.8.5-22.el5_7.1, ruby-libs 1.8.5-22.el5_7.1, ruby-mode 1.8.5-22.el5_7.1, ruby-rdoc 1.8.5-22.el5_7.1, +1 more
    fixed: vendor fix RHSA-2012:0070
  • Red Hat Enterprise Linux Desktop (v. 6) ruby 1.8.7.352-3.el6, ruby-ri 1.8.7.352-3.el6, ruby-irb 1.8.7.352-3.el6, ruby-libs 1.8.7.352-3.el6, ruby-rdoc 1.8.7.352-3.el6, ruby-tcltk 1.8.7.352-3.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) ruby 1.8.7.352-3.el6, ruby-ri 1.8.7.352-3.el6, ruby-irb 1.8.7.352-3.el6, ruby-libs 1.8.7.352-3.el6, ruby-rdoc 1.8.7.352-3.el6, ruby-tcltk 1.8.7.352-3.el6
    fixed: vendor fix RHSA-2011:1581
  • Red Hat Enterprise Linux Desktop version 4 irb 1.8.1-18.el4, ruby 1.8.1-18.el4, ruby-libs 1.8.1-18.el4, ruby-mode 1.8.1-18.el4, ruby-tcltk 1.8.1-18.el4 Red Hat Enterprise Linux ES version 4 irb 1.8.1-18.el4, ruby 1.8.1-18.el4, ruby-libs 1.8.1-18.el4, ruby-mode 1.8.1-18.el4, ruby-tcltk 1.8.1-18.el4
    fixed: vendor fix RHSA-2012:0070
  • Red Hat Enterprise Linux HPC Node (v. 6) ruby 1.8.7.352-3.el6, ruby-ri 1.8.7.352-3.el6, ruby-irb 1.8.7.352-3.el6, ruby-libs 1.8.7.352-3.el6, ruby-rdoc 1.8.7.352-3.el6, ruby-tcltk 1.8.7.352-3.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) ruby 1.8.7.352-3.el6, ruby-ri 1.8.7.352-3.el6, ruby-irb 1.8.7.352-3.el6, ruby-libs 1.8.7.352-3.el6, ruby-rdoc 1.8.7.352-3.el6, ruby-tcltk 1.8.7.352-3.el6 Red Hat Enterprise Linux Server (v. 6) ruby 1.8.7.352-3.el6, ruby-ri 1.8.7.352-3.el6, ruby-irb 1.8.7.352-3.el6, ruby-libs 1.8.7.352-3.el6, ruby-rdoc 1.8.7.352-3.el6, ruby-tcltk 1.8.7.352-3.el6 Red Hat Enterprise Linux Server Optional (v. 6) ruby 1.8.7.352-3.el6, ruby-ri 1.8.7.352-3.el6, ruby-irb 1.8.7.352-3.el6, ruby-libs 1.8.7.352-3.el6, ruby-rdoc 1.8.7.352-3.el6, ruby-tcltk 1.8.7.352-3.el6 Red Hat Enterprise Linux Workstation (v. 6) ruby 1.8.7.352-3.el6, ruby-ri 1.8.7.352-3.el6, ruby-irb 1.8.7.352-3.el6, ruby-libs 1.8.7.352-3.el6, ruby-rdoc 1.8.7.352-3.el6, ruby-tcltk 1.8.7.352-3.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) ruby 1.8.7.352-3.el6, ruby-ri 1.8.7.352-3.el6, ruby-irb 1.8.7.352-3.el6, ruby-libs 1.8.7.352-3.el6, ruby-rdoc 1.8.7.352-3.el6, ruby-tcltk 1.8.7.352-3.el6
    fixed: vendor fix RHSA-2011:1581
  • Red Hat Enterprise Linux WS version 4 irb 1.8.1-18.el4, ruby 1.8.1-18.el4, ruby-libs 1.8.1-18.el4, ruby-mode 1.8.1-18.el4, ruby-tcltk 1.8.1-18.el4
    fixed: vendor fix RHSA-2012:0070
  • Red Hat Hardened Images ruby3.4 3.4.8-31.1.hum1, ruby4.0 4.0.0-33.3.hum1, ruby3.3 3.3.10-23.1.hum1, ruby3.4-default-gems 3.4.8-31.1.hum1, ruby4.0-default-gems 4.0.0-33.3.hum1, ruby3.3-default-gems 3.3.10-23.1.hum1
    fixed: vendor fix RHSA-2026:7305
  • Red Hat RHEL Desktop Workstation (v. 5 client) ruby 1.8.5-22.el5_7.1, ruby-ri 1.8.5-22.el5_7.1, ruby-irb 1.8.5-22.el5_7.1, ruby-libs 1.8.5-22.el5_7.1, ruby-mode 1.8.5-22.el5_7.1, ruby-rdoc 1.8.5-22.el5_7.1, +1 more
    fixed: vendor fix RHSA-2012:0070

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.02% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.