CVE Vulnerabilities

CVE-2017-2784

Improper Certificate Validation

Published: Apr 20, 2017 | Modified: Apr 19, 2022
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Mbed_tls Arm * 1.3.18 (including)
Mbed_tls Arm 2.0.0 (including) 2.0.0 (including)
Mbed_tls Arm 2.1.0 (including) 2.1.0 (including)
Mbed_tls Arm 2.1.1 (including) 2.1.1 (including)
Mbed_tls Arm 2.1.2 (including) 2.1.2 (including)
Mbed_tls Arm 2.1.3 (including) 2.1.3 (including)
Mbed_tls Arm 2.1.4 (including) 2.1.4 (including)
Mbed_tls Arm 2.1.5 (including) 2.1.5 (including)
Mbed_tls Arm 2.1.6 (including) 2.1.6 (including)
Mbed_tls Arm 2.4.0 (including) 2.4.0 (including)
Mbedtls Ubuntu upstream *
Mbedtls Ubuntu xenial *
Mbedtls Ubuntu yakkety *
Polarssl Ubuntu trusty *

Potential Mitigations

References