FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

libssh -- null pointer dereference

Affected packages
libssh < 0.6.5

Details

VuXML ID 0b040e24-f751-11e4-b24d-5453ed2e2b49
Discovery 2015-04-30
Entry 2015-05-10

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.

References

CVE Name CVE-2015-3146
URL https://www.libssh.org/2015/04/30/libssh-0-6-5-security-and-bugfix-release