Read the docs
TI-2011-02347 Aliases CVE-2011-2686GHSA-g8g6-3p4h-6388

Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier…

Priority LOW 28CWE-310Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Partial · None · None
Fix status
Partial Red Hat: 1 fixed, 3 without a fix

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

Summary

Ruby before 1.8.7-p352 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. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.

Why it matters now

EPSS 0.02582 85th percentileScored 2026-11-07
Fix Partial Red Hat: 3 advisoriesRed Hat: 1 fixed, 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 12

CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*up to 1.8.7-334Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*1.8.7 p22Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*1.8.7 p71Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*1.8.7 p72Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*1.8.7-160Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*1.8.7-173Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*1.8.7-248Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*1.8.7-249Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*1.8.7-299Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*1.8.7-302Vulnerableruby
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions up to 1.8.7-334 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:* Versions 1.8.7 p22 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:* Versions 1.8.7 p71 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:* Versions 1.8.7 p72 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:* Versions 1.8.7-160 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:* Versions 1.8.7-173 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:* Versions 1.8.7-248 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:* Versions 1.8.7-249 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:* Versions 1.8.7-299 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:* Versions 1.8.7-302 Vulnerable ·ruby
Show 2 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*1.8.7-330Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:*1.8.7-p21Vulnerableruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:* Versions 1.8.7-330 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:* Versions 1.8.7-p21 Vulnerable ·ruby

Remediation

Red Hat 3 advisories

  • RHSA-2026:8838 Released 2026-04-17 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images ruby4.0-4.0.0-33.3.hum1@aarch64, ruby4.0-4.0.0-33.3.hum1@src, ruby4.0-4.0.0-33.3.hum1@x86_64 +10
  • RHSA-2026:7307 Released 2026-04-09 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images ruby3.4-3.4.8-31.1.hum1@aarch64, ruby3.4-3.4.8-31.1.hum1@src, ruby3.4-3.4.8-31.1.hum1@x86_64 +10
  • RHSA-2026:7305 Released 2026-04-09 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images ruby3.3-3.3.10-23.1.hum1@aarch64, ruby3.3-3.3.10-23.1.hum1@src, ruby3.3-3.3.10-23.1.hum1@x86_64 +10

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 4AffectedNo fix yet
Red Hat Enterprise Linux 5AffectedNo fix yet
Red Hat Enterprise Linux 6AffectedNo fix yet
Red Hat Hardened ImagesFixed RHSA-2026:7305, RHSA-2026:7307, RHSA-2026:8838
Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2011-2686
  2. 2026-10-03 Alias added: GHSA-g8g6-3p4h-6388
  3. 2026-11-06 Affected versions changed · Red Hat

References

  • TI-2026-71508 Integer overflow in GitLab allows code execution on the server KEVCVSS 3.1CRITICAL 10.0
  • TI-2017-12709 Ruby before 2.4.3 allows Net::FTP command injection. CVSS 3.0HIGH 8.8
  • TI-2008-03501 Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value… CVSS 2.0HIGH 7.8
  • TI-2021-09891 In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web… CVSS 3.1HIGH 7.5
  • TI-2013-03637 Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1… CVSS 2.0MEDIUM 6.8
  • TI-2018-11751 An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5… CVSS 3.0CRITICAL 9.8
See all 92 →

Sources