Incorrect Calculation of Buffer Size Affecting mbedtls package, versions <2.16.9-0.1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.66% (80th 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-DEBIAN11-MBEDTLS-1569082
  • published24 Aug 2021
  • disclosed23 Aug 2021

Introduced: 23 Aug 2021

CVE-2020-36475  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Debian:11 mbedtls to version 2.16.9-0.1 or higher.

NVD Description

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

An issue was discovered in Mbed TLS before 2.25.0 (and before 2.16.9 LTS and before 2.7.18 LTS). The calculations performed by mbedtls_mpi_exp_mod are not limited; thus, supplying overly large parameters could lead to denial of service when generating Diffie-Hellman key pairs.

CVSS Scores

version 3.1