Vulnerability Name:

CVE-2021-21772 (CCN-198128)

Assigned:2021-03-10
Published:2021-03-10
Updated:2022-11-16
Summary: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 v3 Severity:8.1 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.1 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.1 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.1 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.6 High (CCN CVSS v2 Vector: AV:N/AC:H/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-416
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-21772

Source: XF
Type: UNKNOWN
lib3mf-cve202121772-code-exec(198128)

Source: CCN
Type: lib3mf GIT Repository
GitHub - 3MFConsortium/lib3mf: lib3mf is an implementation of the 3D Manufacturing Format file standard

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-6945629745

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-b73f9c96ee

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-bb1b7591c4

Source: GENTOO
Type: Third Party Advisory
GLSA-202208-01

Source: CCN
Type: Talos Vulnerability Report TALOS-2020-1226
3MF Consortium lib3mf NMR::COpcPackageReader::releaseZIP() use-after-free vulnerability

Source: MISC
Type: Exploit, Third Party Advisory
https://talosintelligence.com/vulnerability_reports/TALOS-2020-1226

Source: DEBIAN
Type: Third Party Advisory
DSA-4887

Source: MISC
Type: Exploit, Third Party Advisory
https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1226

Vulnerable Configuration:Configuration 1:
  • cpe:/a:3mf:lib3mf:2.0.0:-:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    3mf lib3mf 2.0.0 -
    fedoraproject fedora 32
    fedoraproject fedora 33
    fedoraproject fedora 34
    debian debian linux 10.0