Integer Overflow or Wraparound Affecting mbedtls package, versions <2.7.0-r0
Threat Intelligence
EPSS
1.18% (86th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE320-MBEDTLS-7010217
- published 23 May 2024
- disclosed 14 Feb 2018
Introduced: 14 Feb 2018
CVE-2017-18187 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
mbedtls
to version 2.7.0-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream mbedtls
package and not the mbedtls
package as distributed by Alpine
.
See How to fix?
for Alpine:3.20
relevant fixed versions and status.
In 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.
References
- https://github.com/ARMmbed/mbedtls/blob/master/ChangeLog
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18187
- https://www.debian.org/security/2018/dsa-4138
- https://www.debian.org/security/2018/dsa-4147
- https://security-tracker.debian.org/tracker/CVE-2017-18187
- https://security.gentoo.org/glsa/201804-19
- https://github.com/ARMmbed/mbedtls/commit/83c9f495ffe70c7dd280b41fdfd4881485a3bc28
- http://www.securityfocus.com/bid/103055
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-18187
- https://usn.ubuntu.com/4267-1/