Improper Certificate Validation Affecting mbedtls package, versions <2.4.2-r0
Threat Intelligence
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-7010219
- published 23 May 2024
- disclosed 20 Apr 2017
Introduced: 20 Apr 2017
CVE-2017-2784 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
mbedtls
to version 2.4.2-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.
An 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.
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2784
- https://security-tracker.debian.org/tracker/CVE-2017-2784
- https://security.gentoo.org/glsa/201706-18
- https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2017-01
- http://www.talosintelligence.com/reports/TALOS-2017-0274/
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-2784