CWE
310
Advisory Published
CVE Published
Updated

CVE-2011-2686

First published: Fri Jul 15 2011(Updated: )

It was found that Ruby did not properly reinitialize the random number generator, when forking new Ruby process. A local attacker could use this flaw to easier predict random numbers. References: [1] <a href="https://bugzilla.novell.com/show_bug.cgi?id=704409">https://bugzilla.novell.com/show_bug.cgi?id=704409</a> [2] <a href="http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/">http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/</a> [3] <a href="http://redmine.ruby-lang.org/issues/4579">http://redmine.ruby-lang.org/issues/4579</a> [4] <a href="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&amp;revision=31713">http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&amp;revision=31713</a> [5] <a href="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&amp;revision=32050">http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&amp;revision=32050</a> [6] <a href="http://www.openwall.com/lists/oss-security/2011/07/11/1">http://www.openwall.com/lists/oss-security/2011/07/11/1</a> [7] <a href="http://www.openwall.com/lists/oss-security/2011/07/12/14">http://www.openwall.com/lists/oss-security/2011/07/12/14</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Ruby=1.8.7-302
Ruby=1.8.7-249
Ruby=1.8.7-299
Ruby<=1.8.7-334
Ruby=1.8.7-p71
Ruby=1.8.7-p22
Ruby=1.8.7-330
Ruby=1.8.7-160
Ruby=1.8.7-173
Ruby=1.8.7-p21
Ruby=1.8.7-p72
Ruby=1.8.7-248

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2011-2686?

    CVE-2011-2686 has been rated as a medium severity vulnerability due to its potential to allow local attackers to predict random numbers.

  • How do I fix CVE-2011-2686?

    To fix CVE-2011-2686, users should update Ruby to a version that is not affected, specifically any version above 1.8.7-334.

  • What software versions are affected by CVE-2011-2686?

    CVE-2011-2686 affects several versions of Ruby 1.8.7, including versions 1.8.7-160 through 1.8.7-334 inclusive.

  • Who can exploit CVE-2011-2686?

    CVE-2011-2686 can be exploited by local attackers who can execute code in a Ruby environment.

  • What type of vulnerability is CVE-2011-2686 classified as?

    CVE-2011-2686 is classified as a local information disclosure vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203