Back
CVE-2011-2686
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…
Medium5.0EPSS 2.6%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 2.6% · top 15% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (13)
- [oss-security] 20110712 Re: CVE Request: ruby PRNG fixes (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=722415 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20110720 Re: CVE Request: ruby PRNG fixes (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://redmine.ruby-lang.org/issues/show/4338 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713 (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2011-9374 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- ruby-random-number-dos(69032) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- [oss-security] 20110720 Re: CVE Request: ruby PRNG fixes (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20110711 CVE Request: ruby PRNG fixes (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 49015 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- FEDORA-2011-9359 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .