CVE-2017-18187: Integer Overflow

Published Feb 14, 2018
·
Updated

In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the sslparseclientpskidentity() function in library/sslsrv.c.

Affected Software

26 affected componentsFixes available
Arm mbed TLS<2.7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/mbedtls
2.16.9-0.12.16.9-0.1+deb11u32.28.3-13.6.5-0.1~deb13u13.6.5-0.1
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls<2.7.0-r0
2.7.0-r0
alpine/mbedtls2<2.7.0-r0
2.7.0-r0
alpine/mbedtls2<2.7.0-r0
2.7.0-r0
alpine/mbedtls2<2.7.0-r0
2.7.0-r0
alpine/mbedtls2<2.7.0-r0
2.7.0-r0
alpine/mbedtls2<2.7.0-r0
2.7.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mbedtls to a version that resolves this vulnerability.

    Fixed in 2.16.9-0.1Fixed in 2.16.9-0.1+deb11u3Fixed in 2.28.3-1Fixed in 3.6.5-0.1~deb13u1Fixed in 3.6.5-0.1
  2. Upgrade

    Upgrade alpine/mbedtls to a version that resolves this vulnerability.

    Fixed in 2.7.0-r0
  3. Upgrade

    Upgrade alpine/mbedtls2 to a version that resolves this vulnerability.

    Fixed in 2.7.0-r0
  4. Upgrade

    Upgrade alpine/mbedtls3 to a version that resolves this vulnerability.

    Fixed in 2.7.0-r0
  5. Upgrade

    Upgrade ARM mbed TLS to a version that resolves this vulnerability.

    Fixed in 2.7.0

Event History

Feb 14, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:29 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2017-18187?

CVE-2017-18187 is a vulnerability in ARM mbed TLS before 2.7.0 that allows a bounds-check bypass through an integer overflow in PSK identity parsing.

2

What is the severity of CVE-2017-18187?

CVE-2017-18187 has a severity level of 9.8, which is considered critical.

3

How does CVE-2017-18187 impact ARM mbed TLS?

CVE-2017-18187 affects ARM mbed TLS versions before 2.7.0.

4

How can I fix CVE-2017-18187?

To fix CVE-2017-18187, you should upgrade to ARM mbed TLS version 2.7.0 or later.

5

Where can I find more information about CVE-2017-18187?

You can find more information about CVE-2017-18187 on the SecurityFocus website and the ARM mbed TLS GitHub repository.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203