Bug 1544727 (CVE-2018-0488) - CVE-2018-0488 mbedtls: Risk of remote code execution when truncated HMAC is enabled
Summary: CVE-2018-0488 mbedtls: Risk of remote code execution when truncated HMAC is e...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2018-0488
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1544729 1544730
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-13 11:53 UTC by Adam Mariš
Modified: 2019-09-29 14:32 UTC (History)
2 users (show)

Fixed In Version: mbedtls 1.3.22, mbedtls 2.1.10, mbedtls 2.7.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:39:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2018-02-13 11:53:58 UTC
When the truncated HMAC extension is enabled and CBC is used, sending a malicious application packet can be used to selectively corrupt 6 bytes on the peer's heap, potentially leading to a crash or remote code execution. This can be triggered remotely from either side in both TLS and DTLS.

If the truncated HMAC extension, which can be set by the compile time option MBEDTLS_SSL_TRUNCATED_HMAC in config.h, is disabled when compiling the library, then the vulnerability is not present. The truncated HMAC extension is enabled in the default configuration.

The vulnerability is only present if

* The compile-time option MBEDTLS_SSL_TRUNCATED_HMAC is set in config.h. (It is set by default) AND
* The truncated HMAC extension is explicitly offered by calling mbedtls_ssl_conf_truncated_hmac(). (It is not offered by default)

Affects versions: all versions of Mbed TLS from version 1.3.0 and up, including all 2.1 and later releases

Reference:

https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2018-01

Comment 1 Adam Mariš 2018-02-13 11:57:05 UTC
Created mbedtls tracking bugs for this issue:

Affects: epel-all [bug 1544730]
Affects: fedora-all [bug 1544729]

Comment 2 Product Security DevOps Team 2019-06-08 03:39:47 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.