{"id":"CVE-2012-4559","sourceIdentifier":"secalert@redhat.com","published":"2012-11-30T22:55:01.643","lastModified":"2026-06-16T23:45:23.763","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Múltiples vulnerabilidades de doble liberación en  las funciones (1) agent_sign_data en agent.c, (2) channel_request en channels.c, (3) ssh_userauth_pubkey en auth.c, (4) sftp_parse_attr_3 en sftp.c, y (5) try_publickey_from_file en keyfiles.c en libssh antes de v0.5.3 permiten a atacantes remotos provocar una denegación de servicio (caída de la aplicación) y posiblemente ejecutar código de su elección a través de vectores no especificados.\r\n"}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-399"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*","versionEndIncluding":"0.5.2","matchCriteriaId":"5C70E449-A62A-4670-8786-093A915EF07C"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.4.7:*:*:*:*:*:*:*","matchCriteriaId":"EA0F1552-63D8-4E97-A44A-EF55E8A330B7"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.4.8:*:*:*:*:*:*:*","matchCriteriaId":"6514D889-F87F-44D1-9C7B-5BE75676DCFF"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.5.0:*:*:*:*:*:*:*","matchCriteriaId":"A80094C5-1273-43AB-9E1E-096D8B0A60BB"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.5.0:rc1:*:*:*:*:*:*","matchCriteriaId":"CF67514C-3240-42A4-9996-21E855104C59"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.5.1:*:*:*:*:*:*:*","matchCriteriaId":"7BBD0BC3-2467-414E-BD82-2A5778B810F9"}]}]}],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2012/dsa-2577","source":"secalert@redhat.com"},{"url":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:175","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2012/11/20/3","source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/56604","source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-1640-1","source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=871612","source":"secalert@redhat.com"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80218","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2012/dsa-2577","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:175","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2012/11/20/3","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/56604","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/USN-1640-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=871612","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80218","source":"af854a3a-2127-422b-91ae-364da2661108"}]}