CVE-2012-4559
Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2) channel_request function in channels.c, (3) ssh_userauth_pubkey function in auth.c, (4) sftp_parse_attr_3 function in sftp.c, and (5) try_publickey_from_file function in keyfiles.c in libssh before 0.5.3 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unspecified vectors.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | libssh | Fixed | 0.5.3-1 | DEBIAN-CVE-2012-4559 |
| Debian 13 | libssh | Fixed | 0.5.3-1 | DEBIAN-CVE-2012-4559 |
| Debian 12 | libssh | Fixed | 0.5.3-1 | DEBIAN-CVE-2012-4559 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2012/dsa-2577 (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:175 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-1640-1 (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=871612
- http://www.debian.org/security/2012/dsa-2577
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:175
- http://www.ubuntu.com/usn/USN-1640-1
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80218
- http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html
- http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html
- http://www.openwall.com/lists/oss-security/2012/11/20/3
- http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html
- http://www.securityfocus.com/bid/56604
- http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.