Skip to content
OpenAdvisories
High · 7.3 CVE-2021-23792 EUVD-2022-4783GHSA-pjch-4g28-fxx7SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763

XML External Entity (XXE) Injection

Published May 6, 2022 · Updated Sep 16, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— com.twelvemonkeys.imageio:imageio-metadata unspecified – < 3.7.1 3.7.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libtwelvemonkeys-java 3.8.0-1 —
Debian 13 libtwelvemonkeys-java 3.8.0-1 —
Debian 12 libtwelvemonkeys-java 3.8.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libtwelvemonkeys-java No fix yet —
Ubuntu 26.04 LTS libtwelvemonkeys-java No fix yet —
Ubuntu 25.10 libtwelvemonkeys-java No fix yet —
Ubuntu 24.04 LTS libtwelvemonkeys-java No fix yet —
Ubuntu 22.04 LTS libtwelvemonkeys-java No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libtwelvemonkeys-java No fix yet —
Ubuntu 18.04 LTS libtwelvemonkeys-java No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.twelvemonkeys.imageio:imageio-metadata < 3.7.1 3.7.1 GHSA-pjch-4g28-fxx7

References