CVE-2014-0017

libssh: Improper initialization of PRNG after fork()

Published Mar 14, 2014 CVSS 2.0 · 1.9 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2879-1 libssh security update
EUVD EUVD EUVD-2014-0118 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.
Ubuntu USN Ubuntu USN USN-2145-1 libssh vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 8:58 AM
Reserved
Dec 3, 2013, 12:00 AM
Status
Modified
Published
Mar 14, 2014, 3:55 PM
Modified
Jun 17, 2026, 12:02 AM
Severity
Moderate
Public date
Mar 4, 2014, 12:00 AM