CVE-2021-44732

Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as demonstrated by an mbedtls_ssl_set_session() failure

published December 20, 2021

CVSS
—
EPSS
3%
Percentile
86.2
In the wild
Unconfirmed
What it is

⚠️ A double free issue lurks in Mbed TLS versions before 3.0.1 that could lead to unexpected behavior when memory runs low! Think of it like a restaurant that tries to serve a dish that was already sent back to the kitchen — double serving the same dish when there’s not enough left can definitely create a mess! 🍽️ An attacker could exploit this vulnerability in out-of-memory conditions, leading to potentially erratic behavior in applications. While the severity is currently marked as unknown, it's always best to stay ahead of the curve and prevent any chaos that could arise!

Put simply

Think of it like a restaurant that tries to serve a dish that was already sent back to the kitchen — double serving the same dish when there’s not enough left can definitely create a mess! 🍽️ This vulnerability involves a double free condition triggered during an SSL session setup failure when the system is out of memory, which can lead to undefined behavior in the application.

What to do

An attacker could exploit this vulnerability in out-of-memory conditions, leading to potentially erratic behavior in applications. While the severity is currently marked as unknown, it's always best to stay ahead of the curve and prevent any chaos that could arise! Update Mbed TLS to version 3.0.1 or later to eliminate this vulnerability. Ensure to audit your existing applications that rely on this library and test thoroughly after the upgrade! You've got this! Stay proactive and secure your applications with this quick fix! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02770 · 86.2th percentile
Published
2021-12-20T00:00Z
EPSS history
Timeline
  • 20 DEC 00:00Z
    Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as demonstrated by an mbedtls_ssl_set_session() failure
    cvelistv5