XML External Entity (XXE) Injection Affecting com.twelvemonkeys.imageio:imageio-metadata package, versions [,3.7.1)
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763
- published 13 Dec 2021
- disclosed 7 Dec 2021
- credit MOGWAI LABS GmbH, Timo Müller
Introduced: 7 Dec 2021
CVE-2021-23792 Open this link in a new tabHow to fix?
Upgrade com.twelvemonkeys.imageio:imageio-metadata to version 3.7.1 or higher.
Overview
com.twelvemonkeys.imageio:imageio-metadata is an ImageIO metadata module.
Affected versions of this package 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.