Cryptographic issues in libssh - CVE-2014-0017
Published: March 14, 2014 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a local non-authenticated attacker to gain access to sensitive information.
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 software
Gentoo Linux
Fedora
Debian Linux
Ubuntu
libssh (Alpine package)
libssh (Debian package)
libssh-4 (Ubuntu package)
libssh
How to mitigate CVE-2014-0017
libssh (Alpine package) - update to 0.5.4-r1
libssh (Debian package) - addressed in versions 0.4.5-3+squeeze2, 0.5.4-1+deb7u1
libssh-4 (Ubuntu package) - addressed in versions 0.5.2-1ubuntu0.12.04.3, 0.5.2-1ubuntu0.12.10.3, 0.5.4-1ubuntu0.1
libssh - addressed in versions 0.5.5-2.el5, 0.5.5-2.el6
External References
- http://lists.opensuse.org/opensuse-updates/2014-03/msg00036.html
- http://lists.opensuse.org/opensuse-updates/2014-03/msg00040.html
- http://secunia.com/advisories/57407
- http://www.debian.org/security/2014/dsa-2879
- http://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/
- http://www.openwall.com/lists/oss-security/2014/03/05/1
- http://www.ubuntu.com/usn/USN-2145-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1072191