CVE-2021-23792
External Entity Reference in TwelveMonkeys ImageIO
Description
The package com.twelvemonkeys.imageio:imageio-metadata before version 3.7.1 is 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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.twelvemonkeys.imageio » imageio-metadata | < 3.7.1 | 3.7.1 |
Blast radius
44% of the dependent artifacts (711) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 524 |
| 2 hops | 2,790 |
| 3 hops | 18,290 |
| 4 hops | 194,256 |
| 5 hops | 105,385 |
| 6 hops | 50,242 |
Most used dependents
- com.atlassian.jira » jira-api893 usages
- com.jetbrains.intellij.platform » ide-impl753 usages
- com.atlassian.confluence » confluence724 usages
- com.atlassian.jira » jira-core554 usages
- com.jetbrains.intellij.platform » lang-impl536 usages
- com.atlassian.jira » atlassian-jira-pageobjects230 usages
- com.atlassian.jira » jira-func-tests212 usages
- com.github.librepdf » openpdf203 usages
- com.jetbrains.intellij.platform » execution-impl189 usages
- com.atlassian.jira.tests » jira-testkit-client181 usages
- com.twelvemonkeys.imageio » imageio-jpeg172 usages
- com.atlassian.confluence » confluence-test-support158 usages
- com.atlassian.confluence » confluence-webdriver-support143 usages
- com.twelvemonkeys.imageio » imageio-tiff134 usages
- info.magnolia.ui » magnolia-ui-framework130 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-23792 | nvd.nist.gov |
| Package | haraldk/TwelveMonkeys | github.com |
| Web | haraldk/TwelveMonkeys commit da4efe9 | github.com |
| Web | vuln/SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763 | snyk.io |
