Critical severityNVD Advisory· Published May 6, 2022· Updated Sep 16, 2024
XML External Entity (XXE) Injection
CVE-2021-23792
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.twelvemonkeys.imageio:imageio-metadataMaven | < 3.7.1 | 3.7.1 |
Affected products
2- twelvemonkeys/imageio-metadatadescription
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-pjch-4g28-fxx7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-23792ghsaADVISORY
- github.com/haraldk/TwelveMonkeys/commit/da4efe98bf09e1cce91b7633cb251958a200fc80ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.