Multiple vulnerabilities in libssh



Published: 2012-12-01 | Updated: 2020-08-11
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2012-4560
CVE-2012-6063
CWE-ID CWE-119
CWE-399
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libssh
Universal components / Libraries / Libraries used by multiple products

Vendor libssh

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Buffer overflow

EUVDB-ID: #VU43281

Risk: Medium

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

CVE-ID: CVE-2012-4560

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Multiple buffer overflows in libssh before 0.5.3 allow remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via unspecified vectors.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libssh: 0.4.7 - 0.5.1

External links

http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html
http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html
http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html
http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html
http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/
http://www.mandriva.com/security/advisories?name=MDVSA-2012:175
http://www.openwall.com/lists/oss-security/2012/11/20/3
http://www.securityfocus.com/bid/56604
http://www.ubuntu.com/usn/USN-1640-1
http://bugzilla.redhat.com/show_bug.cgi?id=871614
http://exchange.xforce.ibmcloud.com/vulnerabilities/80219


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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

2) Resource management error

EUVDB-ID: #VU43283

Risk: Medium

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

CVE-ID: CVE-2012-6063

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Double free vulnerability in the sftp_mkdir function in sftp.c in libssh before 0.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unspecified vectors, a different vector than CVE-2012-4559.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libssh: 0.4.7 - 0.5.1

External links

http://git.libssh.org/projects/libssh.git/commit/?h=v0-5&id=4d8420f3282ed07fc99fc5e930c17df27ef1e9b2
http://www.debian.org/security/2012/dsa-2577
http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/
http://bugzilla.redhat.com/show_bug.cgi?id=871612


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###