CWE
20
Advisory Published
Updated

CVE-2011-2705: Input Validation

First published: Fri Aug 05 2011(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Ruby-lang Ruby<=1.8.7-334
Ruby-lang Ruby=1.8.7-p22
Ruby-lang Ruby=1.8.7-p71
Ruby-lang Ruby=1.8.7-p72
Ruby-lang Ruby=1.8.7-160
Ruby-lang Ruby=1.8.7-173
Ruby-lang Ruby=1.8.7-248
Ruby-lang Ruby=1.8.7-249
Ruby-lang Ruby=1.8.7-299
Ruby-lang Ruby=1.8.7-302
Ruby-lang Ruby=1.8.7-330
Ruby-lang Ruby=1.8.7-p21
Ruby-lang Ruby=1.9
Ruby-lang Ruby=1.9-r18423
Ruby-lang Ruby=1.9.0
Ruby-lang Ruby=1.9.0-r18423
Ruby-lang Ruby=1.9.0-0
Ruby-lang Ruby=1.9.0-1
Ruby-lang Ruby=1.9.0-2
Ruby-lang Ruby=1.9.0-20060415
Ruby-lang Ruby=1.9.0-20070709
Ruby-lang Ruby=1.9.1
Ruby-lang Ruby=1.9.1--p0
Ruby-lang Ruby=1.9.1--p129
Ruby-lang Ruby=1.9.1--p243
Ruby-lang Ruby=1.9.1--p376
Ruby-lang Ruby=1.9.1--p429
Ruby-lang Ruby=1.9.1--preview_1
Ruby-lang Ruby=1.9.1--preview_2
Ruby-lang Ruby=1.9.1--rc1
Ruby-lang Ruby=1.9.1--rc2
Ruby-lang Ruby=1.9.2
Ruby-lang Ruby=1.9.2-dev
Ruby-lang Ruby=1.9.2-p136
Ruby-lang Ruby=1.9.2-p180

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.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203