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 Software | Affected Version | How 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 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.