Bug 2155396 (CVE-2022-46393)

Summary: CVE-2022-46393 mbedtls: heap buffer overread and overwrite in DTLS
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mbedtls 2.28.2, mbedtls 3.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-21 23:18:33 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: 2155397, 2155398    
Bug Blocks:    

Description TEJ RATHI 2022-12-21 05:46:21 UTC
An issue was discovered in Mbed TLS before 2.28.2 and 3.x before 3.3.0. There is a potential heap-based buffer overflow and heap-based buffer over-read in DTLS if MBEDTLS_SSL_DTLS_CONNECTION_ID is enabled and MBEDTLS_SSL_CID_IN_LEN_MAX > 2 * MBEDTLS_SSL_CID_OUT_LEN_MAX.

https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.2
https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.3.0
https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/

Comment 1 TEJ RATHI 2022-12-21 05:47:08 UTC
Created mbedtls tracking bugs for this issue:

Affects: epel-all [bug 2155398]
Affects: fedora-all [bug 2155397]

Comment 2 Product Security DevOps Team 2022-12-21 23:18:31 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.