Skip to content
OpenAdvisories
Unscored CVE-2014-0017 EUVD-2014-0118GHSA-mw96-qp3x-6qgr

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 num…

Published Mar 14, 2014 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh 0.5.4-3 —
Debian 13 libssh 0.5.4-3 —
Debian 12 libssh 0.5.4-3 —
Debian 7 libssh 0.5.4-1+deb7u1 DSA-2879-1
Debian 6.0 libssh 0.4.5-3+squeeze2 DSA-2879-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libssh 0.7.2-2.1 openSUSE-SU-2024:10036-1

Advisories 3

References