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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs857560, 857561

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mbedtls (PTS)bullseye2.16.9-0.1fixed
bookworm2.28.3-1fixed
sid, trixie3.6.2-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