Improper Certificate Validation Affecting armmbed/mbedtls package, versions [,2.7.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (38th 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-UNMANAGED-ARMMBEDMBEDTLS-2368700
  • published26 Jan 2022
  • disclosed26 Jun 2018
  • creditUnknown

Introduced: 26 Jun 2018

CVE-2018-1000520  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade armmbed/mbedtls to version 2.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation. ARM mbedTLS version 2.7.0 and earlier contains a Ciphersuite Allows Incorrectly Signed Certificates vulnerability in mbedtls_ssl_get_verify_result() that can result in ECDSA-signed certificates are accepted, when only RSA-signed ones should be.. This attack appear to be exploitable via Peers negotiate a TLS-ECDH-RSA-* ciphersuite. Any of the peers can then provide an ECDSA-signed certificate, when only an RSA-signed one should be accepted..

References

CVSS Scores

version 3.1