Mbed-TLS.mbedtls is vulnerable to NULL Pointer Dereference
75
High Risk
A memory allocation failure during mbedtls_x509_string_to_names(), including its indirect callers that set X.509 subject and issuer names, can lead to a memcpy() with a NULL destination pointer. On systems with memory protection this crashes the process, but on microcontrollers where address zero is writable it can overwrite an interrupt vector and enable code execution. The trigger is a memory allocation failure while building a distinguished name. The fix handles the allocation failure without dereferencing the NULL pointer.
You are affected if you are using a version that falls within the vulnerable range and your application sets X.509 distinguished names under conditions where memory allocation can fail.
Mbed-TLS.mbedtls is vulnerable to NULL Pointer Dereference in versions 3.5.0 - 3.6.5 and 4.0.0 - 4.0.0.
Upgrade the Mbed-TLS.mbedtls library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant