Bug 1939895 (CVE-2021-21772) - CVE-2021-21772 lib3mf: specially crafted 3MF file can lead to code execution
Summary: CVE-2021-21772 lib3mf: specially crafted 3MF file can lead to code execution
Alias: CVE-2021-21772
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1939896 1939897
TreeView+ depends on / blocked
Reported: 2021-03-17 09:44 UTC by Marian Rehak
Modified: 2021-03-17 13:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-03-17 13:19:01 UTC

Attachments (Terms of Use)

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:


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.

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