Bug 1939895 (CVE-2021-21772)

Summary: CVE-2021-21772 lib3mf: specially crafted 3MF file can lead to code execution
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: mhroncok
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: 2021-03-17 13:19:01 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: 1939896, 1939897    
Bug Blocks:    

Description Marian Rehak 2021-03-17 09:44:03 UTC
A use-after-free vulnerability exists in the NMR::COpcPackageReader::releaseZIP() functionality of 3MF Consortium lib3mf 2.0.0. A specially crafted 3MF file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

External Reference:

https://talosintelligence.com/vulnerability_reports/TALOS-2020-1226

Comment 1 Marian Rehak 2021-03-17 09:45:08 UTC
Created lib3mf tracking bugs for this issue:

Affects: epel-7 [bug 1939896]
Affects: fedora-all [bug 1939897]

Comment 2 Miro HronĨok 2021-03-17 11:06:51 UTC
2.1.1 and 2.0.1 should fix this issue: https://github.com/3MFConsortium/lib3mf/issues/254

Comment 3 Product Security DevOps Team 2021-03-17 13:19:01 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.