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 bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs857560, 857561

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mbedtls (PTS)stretch2.4.2-1+deb9u3fixed
stretch (security)2.4.2-1+deb9u4fixed
buster2.16.0-1fixed
bullseye2.16.9-0.1fixed
bookworm, sid2.16.11-0.3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mbedtlssource(unstable)2.4.2-1857560
polarsslsourcewheezy(not affected)
polarsslsourcejessie1.3.9-2.1+deb8u2
polarsslsource(unstable)(unfixed)857561

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