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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libtwelvemonkeys-java | 3.8.0-1 | DEBIAN-CVE-2021-23792 |
| Debian:13 | libtwelvemonkeys-java | 3.8.0-1 | DEBIAN-CVE-2021-23792 |
| Debian:14 | libtwelvemonkeys-java | 3.8.0-1 | DEBIAN-CVE-2021-23792 |
| Maven | com.twelvemonkeys.imageio:imageio-metadata | 3.7.1 | GHSA-pjch-4g28-fxx7 |
| Ubuntu:22.04:LTS | libtwelvemonkeys-java | no fix listed | UBUNTU-CVE-2021-23792 |
| Ubuntu:24.04:LTS | libtwelvemonkeys-java | no fix listed | UBUNTU-CVE-2021-23792 |
| Ubuntu:25.10 | libtwelvemonkeys-java | no fix listed | UBUNTU-CVE-2021-23792 |
| Ubuntu:26.04:LTS | libtwelvemonkeys-java | no fix listed | UBUNTU-CVE-2021-23792 |
| Ubuntu:26.10 | libtwelvemonkeys-java | no fix listed | UBUNTU-CVE-2021-23792 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | com.twelvemonkeys.imageio:imageio-metadata | unspecified – before 3.7.1 |