Vulnerability · Published May 6, 2022 · Assigned by snyk

CVE-2021-23792XML External Entity (XXE) Injection

High 7.3

In plain English

A high-severity security flaw in com.twelvemonkeys.imageio:imageio-metadata. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)1.1%top 35.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

The package com.twelvemonkeys.imageio:imageio-metadata before 3.7.1 are vulnerable to XML External Entity (XXE) Injection due to an insecurely initialized XML parser for reading XMP Metadata. An attacker can exploit this vulnerability if they are able to supply a file (e.g. when an online profile picture is processed) with a malicious XMP segment. If the XMP metadata of the uploaded image is parsed, then the XXE vulnerability is triggered.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libtwelvemonkeys-java3.8.0-1DEBIAN-CVE-2021-23792
Debian:13libtwelvemonkeys-java3.8.0-1DEBIAN-CVE-2021-23792
Debian:14libtwelvemonkeys-java3.8.0-1DEBIAN-CVE-2021-23792
Mavencom.twelvemonkeys.imageio:imageio-metadata3.7.1GHSA-pjch-4g28-fxx7
Ubuntu:22.04:LTSlibtwelvemonkeys-javano fix listedUBUNTU-CVE-2021-23792
Ubuntu:24.04:LTSlibtwelvemonkeys-javano fix listedUBUNTU-CVE-2021-23792
Ubuntu:25.10libtwelvemonkeys-javano fix listedUBUNTU-CVE-2021-23792
Ubuntu:26.04:LTSlibtwelvemonkeys-javano fix listedUBUNTU-CVE-2021-23792
Ubuntu:26.10libtwelvemonkeys-javano fix listedUBUNTU-CVE-2021-23792

Affected products (as reported)

VendorProductVersions
n/a com.twelvemonkeys.imageio:imageio-metadata unspecified – before 3.7.1

References