Description
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.
CVSS Metrics
- Vector
- AV:L/AC:M/Au:N/C:P/I:N/A:N
- Access Vector
- local
- Access Cmplx
- medium
- Auth
- none
- Confidentiality
- partial
- Integrity
- none
- Availability
- none
- Weaknesses
- CWE-310
Metadata
- Primary Vendor
- LIBSSH
- Published
- 3/14/2014
- Last Modified
- 4/12/2025
- Source
- NIST NVD
- Note: Verify all details with official vendor sources before applying patches.
Affected Products
libssh : libsshlibssh : libsshlibssh : libsshlibssh : libsshlibssh : libsshlibssh : libsshlibssh : libsshlibssh : libsshlibssh : libsshlibssh : libsshlibssh : libsshlibssh : libssh
AI-Powered Remediation
Generate remediation guidance or a C-suite brief for this vulnerability.