{"id":"UBUNTU-CVE-2017-18187","details":"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.","modified":"2026-02-04T04:17:39.118324Z","published":"2018-02-14T17:29:00Z","related":["USN-4267-1"],"upstream":["CVE-2017-18187"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-18187"},{"type":"REPORT","url":"https://github.com/ARMmbed/mbedtls/commit/83c9f495ffe70c7dd280b41fdfd4881485a3bc28"},{"type":"REPORT","url":"https://github.com/ARMmbed/mbedtls/blob/master/ChangeLog"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4267-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-18187"}],"affected":[{"package":{"name":"mbedtls","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mbedtls@2.2.1-2ubuntu0.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-2ubuntu0.3"}]}],"versions":["2.1.2-1","2.2.0-1","2.2.1-1","2.2.1-2","2.2.1-2ubuntu0.1","2.2.1-2ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libmbedcrypto0","binary_version":"2.2.1-2ubuntu0.3"},{"binary_name":"libmbedtls-dev","binary_version":"2.2.1-2ubuntu0.3"},{"binary_name":"libmbedtls10","binary_version":"2.2.1-2ubuntu0.3"},{"binary_name":"libmbedx509-0","binary_version":"2.2.1-2ubuntu0.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18187.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}