Integer Overflow or Wraparound Affecting mbedtls package, versions <2.2.1-2ubuntu0.3


Severity

Recommended
medium

Based on Ubuntu security rating.

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-UBUNTU1604-MBEDTLS-381480
  • 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 Ubuntu:16.04 mbedtls to version 2.2.1-2ubuntu0.3 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 Ubuntu. See How to fix? for Ubuntu:16.04 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.