#VU32570 Cryptographic issues in libssh


Published: 2014-03-14 | Updated: 2020-07-28

Vulnerability identifier: #VU32570

Vulnerability risk: Low

CVSSv3.1: 3.5 [CVSS:3.1/CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2014-0017

CWE-ID: CWE-310

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
libssh
Universal components / Libraries / Libraries used by multiple products

Vendor: libssh

Description

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

libssh: 0.6.0 - 0.6.1


External links
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
http://bugzilla.redhat.com/show_bug.cgi?id=1072191


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability