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.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/ARMmbed/mbedtls/commit/83c9f495ffe70c7dd280b41fdfd4881485a3bc28 | third party advisory patch |
https://www.debian.org/security/2018/dsa-4147 | third party advisory vendor advisory |
https://www.debian.org/security/2018/dsa-4138 | third party advisory vendor advisory |
https://security.gentoo.org/glsa/201804-19 | third party advisory vendor advisory |
https://github.com/ARMmbed/mbedtls/blob/master/ChangeLog | third party advisory |
http://www.securityfocus.com/bid/103055 | vdb entry third party advisory |
https://usn.ubuntu.com/4267-1/ | vendor advisory |