Input validation error in libssh - CVE-2012-4561

 

Input validation error in libssh - CVE-2012-4561

Published: December 1, 2012 / Updated: August 4, 2020


Vulnerability identifier: #VU33914
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-4561
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5) ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free "an invalid pointer on an error path," which might allow remote attackers to cause a denial of service (crash) via unspecified vectors.


Affected software

libssh
Gentoo Linux
Slackware Linux
libssh (Alpine package)

How to mitigate CVE-2012-4561

Install update from vendor's website.

libssh - update to 0.5.3
libssh (Alpine package) - update to 0.5.3-r0

External References

Related Security Bulletins