CVE-2014-0017 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 bet...
LowCVSS 1.9
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libssh(Debian:12) | < 0.5.4-3 | 0.5.4-3 |
| debian/libssh(Debian:13) | < 0.5.4-3 | 0.5.4-3 |
| debian/libssh(Debian:14) | < 0.5.4-3 | 0.5.4-3 |
| libssh | <= 0.6.2 | No fix listed |
| libssh | = 0.4.7 | No fix listed |
| libssh | = 0.4.8 | No fix listed |
| libssh | = 0.5.0 | No fix listed |
| libssh | = 0.5.0-rc1 | No fix listed |
| libssh | = 0.5.1 | No fix listed |
| libssh | = 0.5.2 | No fix listed |
| libssh | = 0.5.3 | No fix listed |
| libssh | = 0.5.4 | No fix listed |
| libssh | = 0.5.5 | No fix listed |
| libssh | = 0.6.0 | No fix listed |
| libssh | = 0.6.1 | No fix listed |
References
- Debian Security Tracker CVE-2014-0017 vendor-advisory
- openSUSE-SU-2014:0366 vendor-advisory
- openSUSE-SU-2014:0370 vendor-advisory
- 57407 third-party-advisory vendor-advisory
- DSA-2879 vendor-advisory
- www.libssh.org patch vendor-advisory
- [oss-security] 20140305 libssh and stunnel PRNG flaws mailing-list
- USN-2145-1 vendor-advisory
- bugzilla.redhat.com