Bug 1544728 (CVE-2018-0487)

Summary: CVE-2018-0487 mbedtls: Risk of remote code execution when verifying RSASSA-PSS signatures
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: mstevens, redhat-bugzilla
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:39:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1544729, 1544730    
Bug Blocks:    

Description Adam Mariš 2018-02-13 11:56:22 UTC
When RSASSA-PSS signature verification is enabled, sending a maliciously constructed certificate chain can be used to cause a buffer overflow on the peer's stack, potentially leading to crash or remote code execution. This can be triggered remotely from either side in both TLS and DTLS.

RSASSA-PSS is the part of PKCS #1 v2.1 standard and can be enabled by the compile time option MBEDTLS_PKCS1_V21 in config.h. If MBEDTLS_PKCS1_V21 is disabled when compiling the library, then the vulnerability is not present. RSASSA-PSS signatures are enabled in the default configuration.

Affected versions: all versions of Mbed TLS from version 1.3.8 and up, including all 2.1 and later releases



Comment 1 Adam Mariš 2018-02-13 11:56:57 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:48 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.