Incorrect Calculation of Buffer Size Affecting mbedtls package, versions <2.16.9-0.1
Threat Intelligence
EPSS
0.78% (82nd
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 ID SNYK-DEBIAN11-MBEDTLS-1569082
- published 24 Aug 2021
- disclosed 23 Aug 2021
Introduced: 23 Aug 2021
CVE-2020-36475 Open this link in a new tabHow 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.
References
- https://security-tracker.debian.org/tracker/CVE-2020-36475
- https://cert-portal.siemens.com/productcert/pdf/ssa-756638.pdf
- https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.9
- https://github.com/ARMmbed/mbedtls/releases/tag/v2.25.0
- https://github.com/ARMmbed/mbedtls/releases/tag/v2.7.18
- https://lists.debian.org/debian-lts-announce/2021/11/msg00021.html
- https://lists.debian.org/debian-lts-announce/2022/12/msg00036.html
CVSS Scores
version 3.1