Use After Free Affecting lib3mf package, versions <1.8.1+ds-3ubuntu0.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.62% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-LIB3MF-1124661
  • published7 Jul 2023
  • disclosed10 Mar 2021

Introduced: 10 Mar 2021

CVE-2021-21772  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 lib3mf to version 1.8.1+ds-3ubuntu0.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lib3mf package and not the lib3mf package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1