Integer Overflow or Wraparound Affecting armmbed/mbedtls package, versions [,2.7.0)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.01% (84th 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-2368676
  • published26 Jan 2022
  • disclosed14 Feb 2018
  • creditUnknown

Introduced: 14 Feb 2018

CVE-2017-18187  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade armmbed/mbedtls to version 2.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.

CVSS Scores

version 3.1