CVE-2021-23792XML External Entity (XXE) Injection
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libtwelvemonkeys-java | Fix pending | UBUNTU-CVE-2021-23792 | |
| Ubuntu 26.04 | libtwelvemonkeys-java | Under investigation | UBUNTU-CVE-2021-23792 | |
| Ubuntu 25.10 | libtwelvemonkeys-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23792 | |
| Ubuntu 24.04 | libtwelvemonkeys-java | Under investigation | UBUNTU-CVE-2021-23792 | |
| Ubuntu 22.04 | libtwelvemonkeys-java | Under investigation | UBUNTU-CVE-2021-23792 | |
| Ubuntu 20.04 | libtwelvemonkeys-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23792 | |
| Ubuntu 18.04 | libtwelvemonkeys-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23792 | |
| Debian 14 | libtwelvemonkeys-java | Fixed | 3.8.0-1 | DEBIAN-CVE-2021-23792 |
| Debian 13 | libtwelvemonkeys-java | Fixed | 3.8.0-1 | DEBIAN-CVE-2021-23792 |
| Debian 12 | libtwelvemonkeys-java | Fixed | 3.8.0-1 | DEBIAN-CVE-2021-23792 |
| Maven library | com.twelvemonkeys.imageio:imageio-metadata | Fixed | 3.7.1 | GHSA-pjch-4g28-fxx7 |
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- com.twelvemonkeys.imageio:imageio-metadata: affected: unspecified to before 3.7.1; fixed in
3.7.1
References
- https://snyk.io/vuln/SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763
- https://github.com/haraldk/TwelveMonkeys/commit/da4efe98bf09e1cce91b7633cb251958a200fc80
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.