FreeBSD : libssh -- NULL pointer dereference (0b040e24-f751-11e4-b24d-5453ed2e2b49)

Medium Nessus Plugin ID 83328


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


Andreas Schneider reports :

libssh versions 0.5.1 and above have a logical error in the handling of a SSH_MSG_NEWKEYS and SSH_MSG_KEXDH_REPLY package. A detected error did not set the session into the error state correctly and further processed the packet which leads to a NULL pointer dereference. This is the packet after the initial key exchange and doesn't require authentication.

This could be used for a Denial of Service (DoS) attack.


Update the affected package.

See Also

Plugin Details

Severity: Medium

ID: 83328

File Name: freebsd_pkg_0b040e24f75111e4b24d5453ed2e2b49.nasl

Version: $Revision: 2.4 $

Type: local

Published: 2015/05/11

Modified: 2016/10/19

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5

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


Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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: 2015/05/10

Vulnerability Publication Date: 2015/04/30

Reference Information

CVE: CVE-2015-3146