CVE Vulnerabilities

CVE-2020-36478

Improper Certificate Validation

Published: Aug 23, 2021 | Modified: Jan 11, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

An issue was discovered in Mbed TLS before 2.25.0 (and before 2.16.9 LTS and before 2.7.18 LTS). A NULL algorithm parameters entry looks identical to an array of REAL (size zero) and thus the certificate is considered valid. However, if the parameters do not match in any way, then the certificate should be considered invalid.

Weakness

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

Affected Software

Name Vendor Start Version End Version
Mbed_tls Arm * 2.7.18 (excluding)
Mbed_tls Arm 2.8.0 (including) 2.16.9 (excluding)
Mbed_tls Arm 2.17.0 (including) 2.25.0 (excluding)
Mbedtls Ubuntu bionic *
Mbedtls Ubuntu trusty *
Mbedtls Ubuntu upstream *
Mbedtls Ubuntu xenial *

Potential Mitigations

References