Use-after-free in lib3mf - CVE-2021-21772

 

Use-after-free in lib3mf - CVE-2021-21772

Published: March 11, 2021 / Updated: October 10, 2022


Vulnerability identifier: #VU51410
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-21772
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: 3MF Consortium
Affected software:
lib3mf

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error in the NMR::COpcPackageReader::releaseZIP() functionality. A remote attacker can use a specially crafted 3MF file and execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


How to mitigate CVE-2021-21772

Install updates from vendor's website.

Sources