HIGH 7.5
CVE-2022-42890
Untrusted code execution in Apache XML Graphics Batik
Description
A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.xmlgraphics » batik | < 1.16 | 1.16 |
| org.apache.xmlgraphics » batik-bridge | < 1.16 | 1.16 |
Blast radius
2affected artifacts
26affected versions
5,775dependent artifacts (est.)
585,011dependent versions
63% of the dependent artifacts (3,650) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 4,107 |
| 2 hops | 41,419 |
| 3 hops | 261,041 |
| 4 hops | 171,402 |
| 5 hops | 84,733 |
| 6 hops | 22,309 |
Most used dependents
- org.apache.poi » poi-ooxml3,690 usages
- com.jetbrains.intellij.platform » core1,284 usages
- com.jetbrains.intellij.platform » ide-impl753 usages
- com.jetbrains.intellij.platform » util741 usages
- com.atlassian.confluence » confluence724 usages
- com.jetbrains.intellij.platform » core-ui691 usages
- com.jetbrains.intellij.platform » project-model666 usages
- com.jetbrains.intellij.platform » analysis624 usages
- com.jetbrains.intellij.platform » core-impl619 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- com.atlassian.jira » jira-core554 usages
- com.jetbrains.intellij.platform » lang-impl536 usages
- com.jetbrains.intellij.platform » util-ui528 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.xmlgraphics » batik-transcoder471 usages
Computed from the dependency graph of build 20261124.0621 (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-2022-42890 | nvd.nist.gov |
| Web | apache/xmlgraphics-batik commit 401aa85 | github.com |
| Web | apache/xmlgraphics-batik commit 52f7a1a | github.com |
| Web | apache/xmlgraphics-batik commit eada57c | github.com |
| Web | jira/browse/BATIK-1345 | issues.apache.org |
| Web | thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly | lists.apache.org |
| Web | debian-lts-announce/2022/10/msg00038.html | lists.debian.org |
| Web | glsa/202401-11 | security.gentoo.org |
| Web | security/2022/dsa-5264 | debian.org |
| Web | security.html | xmlgraphics.apache.org |
| Web | repos/asf/xmlgraphics/batik/trunk | svn.apache.org |
| Web | lists/oss-security/2022/10/25/3 | openwall.com |
