Vulnerability Description
An issue was discovered in Mbed TLS 3.6 before 3.6.1. A stack buffer overflow in mbedtls_ecdsa_der_to_raw() and mbedtls_ecdsa_raw_to_der() can occur when the bits parameter is larger than the largest supported curve. In some configurations with PSA disabled, all values of bits are affected. (This never happens in internal library calls, but can affect applications that call these functions directly.)
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Arm | Mbed Tls | 3.6.0 |
Related Weaknesses (CWE)
References
- https://github.com/Mbed-TLS/mbedtls/releases/Release Notes
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/Vendor Advisory
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-aVendor Advisory
FAQ
What is CVE-2024-45158?
CVE-2024-45158 is a vulnerability with a CVSS score of 9.8 (CRITICAL). An issue was discovered in Mbed TLS 3.6 before 3.6.1. A stack buffer overflow in mbedtls_ecdsa_der_to_raw() and mbedtls_ecdsa_raw_to_der() can occur when the bits parameter is larger than the largest ...
How severe is CVE-2024-45158?
CVE-2024-45158 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-45158?
Check the references section above for vendor advisories and patch information. Affected products include: Arm Mbed Tls.