CVE-2021-23792
XML External Entity (XXE) Injection
Reported by snyk · Published May 6, 2022
imageio-metadata is fixed in 3.7.1 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| com.twelvemonkeys.imageio:imageio-metadata | Maven Central | 3.7.1 |
| com.twelvemonkeys.imageio:imageio-metadata | n/a | 3.7.1 |
| twelvemonkeys | twelvemonkeys_project | 3.7.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | com.twelvemonkeys.imageio:imageio-metadata | unspecified |
| Maven | com.twelvemonkeys.imageio:imageio-metadata | 0 |
| n/a | com.twelvemonkeys.imageio:imageio-metadata | * |
Timeline
- May 6, 2022 CVE Published
- May 8, 2022 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Apr 7, 2026 Security Advisory
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-23792
vulnetix vdb fixes CVE-2021-23792
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-23792/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2021-23792 advisory