Double Free Affecting mbedtls2 package, versions <2.16.12-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.51% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE320-MBEDTLS2-7012824
  • published23 May 2024
  • disclosed20 Dec 2021

Introduced: 20 Dec 2021

CVE-2021-44732  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 mbedtls2 to version 2.16.12-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mbedtls2 package and not the mbedtls2 package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

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.

CVSS Scores

version 3.1