The RAND_bytes function in libssh before 0.6.3, when...
Low severity
Unreviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Apr 12, 2025
Description
Published by the National Vulnerability Database
Mar 14, 2014
Published to the GitHub Advisory Database
May 17, 2022
Last updated
Apr 12, 2025
The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does not properly reset the state of the OpenSSL pseudo-random number generator (PRNG), which causes the state to be shared between children processes and allows local users to obtain sensitive information by leveraging a pid collision.
References