VDB
CVE-2020-36477
CVE-2020-36477
PUBLISHED
An issue was discovered in Mbed TLS before 2.24.0. The verification of X.509 certificates when matching the expected common name (the cn argument of mbedtls_x509_crt_verify) with the actual certificate name is mishandled: when the subjecAltName extension is present, the expected name is compared to any name in that extension regardless of its type. This means that an attacker could impersonate a 4-byte or 16-byte domain by getting a certificate for the corresponding IPv4 or IPv6 address (this would require the attacker to control that IP address, though).
EPSS 0.13% · 32.4th percentile
Risk Scores
EPSS Score
0.13%
32.4th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:18.04:LTS | mbedtls | 2.5.1-1ubuntu1, 2.8.0-1, 2.7.0-2 |
| Ubuntu:16.04:LTS | mbedtls | 2.2.1-2ubuntu0.3, 2.2.0-1, 0 |
| Ubuntu:20.04:LTS | mbedtls | 2.16.2-1, 2.16.4-1ubuntu2, 0 |
Exploit Intelligence
- https://github.com/ARMmbed/mbedtls/releases/tag/v2.24.0 (circl)
- https://github.com/ARMmbed/mbedtls/issues/3498 (circl)
- GLSA-202301-08 (circl)
- app.js (github-poc)
- app.js (github-poc)
- app.js (github-poc)
- app.js (github-poc)
- app.js (github-poc)
Timeline
- Aug 23, 2021 CVE Published
- Aug 23, 2021 EPSS Score
- Oct 20, 2021 EPSS Score
- Dec 18, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 14, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- Apr 13, 2022 EPSS Score
- Jun 10, 2022 EPSS Score
- Aug 9, 2022 EPSS Score
- Oct 6, 2022 EPSS Score
- Dec 3, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2020-36477 third-party-advisory
- https://github.com/ARMmbed/mbedtls/issues/3498 third-party-advisory
- https://github.com/ARMmbed/mbedtls/releases/tag/v2.24.0 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-36477 third-party-advisory