Skip to content
OpenAdvisories
High · 8.1 Public exploit CVE-2021-21772 EUVD-2021-8944GHSA-6f4r-f2fv-g8f4

A use-after-free vulnerability exists in the NMR::COpcPackageReader::releaseZIP() functionality of 3MF Consortium lib3mf 2.0.0. A specially…

Published Mar 10, 2021 · Updated Aug 3, 2024 · Assigned by talos

Description

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.

Affected products

VendorProductAffectedFixed
— 3MF 3MF Consortium lib3mf 2.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lib3mf 1.8.1+ds-4 —
Debian 13 lib3mf 1.8.1+ds-4 —
Debian 12 lib3mf 1.8.1+ds-4 —
Debian 10 lib3mf 1.8.1+ds-3+deb10u1 DSA-4887-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS lib3mf 1.8.1+ds-3ubuntu0.2 USN-6216-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References