FreeBSD : libssh -- PRNG state reuse on forking servers (f8c88d50-5fb3-11e4-81bd-5453ed2e2b49)

Low Nessus Plugin ID 78730


The remote FreeBSD host is missing a security-related update.


Aris Adamantiadis reports :

When accepting a new connection, the server forks and the child process handles the request. The RAND_bytes() function of openssl doesn't reset its state after the fork, but simply adds the current process id (getpid) to the PRNG state, which is not guaranteed to be unique.


Update the affected package.

See Also

Plugin Details

Severity: Low

ID: 78730

File Name: freebsd_pkg_f8c88d505fb311e481bd5453ed2e2b49.nasl

Version: $Revision: 1.1 $

Type: local

Published: 2014/10/30

Modified: 2014/10/30

Dependencies: 12634

Risk Information

Risk Factor: Low


Base Score: 1.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:N/A:N

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:libssh, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2014/10/29

Vulnerability Publication Date: 2014/03/05

Reference Information

CVE: CVE-2014-0017

Secunia: 57407