CVE-2017-18187

NameCVE-2017-18187
DescriptionIn ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4138-1, DSA-4147-1

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
mbedtlssourcestretch2.4.2-1+deb9u2DSA-4138-1
mbedtlssource(unstable)2.7.0-2
polarsslsourcewheezy(not affected)
polarsslsourcejessie1.3.9-2.1+deb8u3DSA-4147-1
polarsslsource(unstable)(unfixed)

Notes

[wheezy] - polarssl <not-affected> (vulnerable code not present)
https://github.com/ARMmbed/mbedtls/commit/83c9f495ffe70c7dd280b41fdfd4881485a3bc28

Search for package or bug name: Reporting problems