Integer Overflow or Wraparound Affecting mbedtls package, versions <2.7.0-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. 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-ALPINE311-MBEDTLS-545598
  • published14 Feb 2018
  • disclosed14 Feb 2018

Introduced: 14 Feb 2018

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

How to fix?

Upgrade Alpine:3.11 mbedtls to version 2.7.0-r0 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 Alpine. See How to fix? for Alpine:3.11 relevant fixed versions and status.

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.