CVE-2017-2784

NameCVE-2017-2784
DescriptionAn exploitable free of a stack pointer vulnerability exists in the x509 certificate parsing code of ARM mbed TLS before 1.3.19, 2.x before 2.1.7, and 2.4.x before 2.4.2. A specially crafted x509 certificate, when parsed by mbed TLS library, can cause an invalid free of a stack pointer leading to a potential remote code execution. In order to exploit this vulnerability, an attacker can act as either a client or a server on a network to deliver malicious x509 certificates to vulnerable applications.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs857560, 857561

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mbedtls (PTS)stretch2.4.2-1fixed
buster, sid2.5.1-1fixed
polarssl (PTS)wheezy, wheezy (security)1.2.9-1~deb7u6fixed
jessie1.3.9-2.1+deb8u2fixed
jessie (security)1.3.9-2.1+deb8u1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mbedtlssource(unstable)2.4.2-1medium857560
polarsslsource(unstable)(unfixed)medium857561
polarsslsourcejessie1.3.9-2.1+deb8u2medium
polarsslsourcewheezy(not affected)

Notes

[wheezy] - polarssl <not-affected> (Vulnerable code not present)
https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2017-01
Wheezy do not have any elliptic curve functionality. Jessie is affected however.

Search for package or bug name: Reporting problems