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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Oracle_linux | — | Upgrade ruby-libsUpgrade ruby-riUpgrade rubyUpgrade ruby-docsUpgrade ruby-tcltkUpgrade ruby-rdocUpgrade ruby-irbUpgrade ruby-staticUpgrade ruby-devel | Oct 16, 2024 | Aug 5, 2011 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Jul 2, 2011 |
| Suse | — | Upgrade ruby-doc-htmlUpgrade ruby-test-suiteUpgrade ruby-tkUpgrade ruby-doc-riUpgrade ruby-examplesUpgrade ruby-develUpgrade ruby | Dec 12, 2013 | Jul 9, 2013 |
| Ubuntu | — | Upgrade ruby1.8Upgrade libruby1.8 | Nov 8, 2024 | Aug 5, 2011 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub