Bug 2041824 (CVE-2020-36478)

Summary: CVE-2020-36478 mbedtls: NULL algorithm parameters entry looks identical to an array of REAL
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ms, redhat-bugzilla
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-18 11:31:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2041825, 2041826    
Bug Blocks:    

Description Dhananjay Arunesh 2022-01-18 10:46:47 UTC
An issue was discovered in Mbed TLS before 2.25.0. A NULL algorithm parameters entry looks identical to an array of REAL (size zero) and thus the certificate is considered valid. However, if the parameters do not match in any way, then the certificate should be considered invalid.

References:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.9
https://github.com/ARMmbed/mbedtls/releases/tag/v2.25.0
https://github.com/ARMmbed/mbedtls/issues/3629
https://github.com/ARMmbed/mbedtls/releases/tag/v2.7.18

Comment 1 Dhananjay Arunesh 2022-01-18 10:47:14 UTC
Created mbedtls tracking bugs for this issue:

Affects: epel-all [bug 2041826]
Affects: fedora-all [bug 2041825]

Comment 2 Product Security DevOps Team 2022-01-18 11:31:13 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.