Improper Certificate Validation Affecting mbedtls package, versions [3.2.1,3.6.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (48th 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 IDSNYK-CONAN-MBEDTLS-10077663
  • published8 May 2025
  • disclosed5 Sept 2024
  • creditUnknown

Introduced: 5 Sep 2024

CVE-2024-45159  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade mbedtls to version 3.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in the mbedtls_ssl_get_verify_result function. An attacker can bypass authentication restrictions by using a certificate that is valid for uses other than TLS client authentication.

CVSS Base Scores

version 4.0
version 3.1