Vulnerability · Published Oct 25, 2022 · Assigned by apache
CVE-2022-42890Apache Batik prior to 1.16 allows RCE via scripting
High 7.5
In plain English
A high-severity security flaw in Apache XML Graphics from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.4% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)3.4%top 11.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | batik | 1.16+dfsg-1 | DEBIAN-CVE-2022-42890 |
| Debian:13 | batik | 1.16+dfsg-1 | DEBIAN-CVE-2022-42890 |
| Debian:14 | batik | 1.16+dfsg-1 | DEBIAN-CVE-2022-42890 |
| Maven | org.apache.xmlgraphics:batik | 1.16 | GHSA-rwqr-m72q-v6cm |
| Maven | org.apache.xmlgraphics:batik-bridge | 1.16 | GHSA-rwqr-m72q-v6cm |
| Ubuntu:22.04:LTS | batik | 1.14-1ubuntu0.2 | USN-6117-1 |
| Ubuntu:22.04:LTS | batik | 1.14-1ubuntu0.2 | UBUNTU-CVE-2022-42890 |
| Ubuntu:24.04:LTS | batik | no fix listed | UBUNTU-CVE-2022-42890 |
| Ubuntu:25.10 | batik | no fix listed | UBUNTU-CVE-2022-42890 |
| Ubuntu:26.04:LTS | batik | no fix listed | UBUNTU-CVE-2022-42890 |
| Ubuntu:26.10 | batik | no fix listed | UBUNTU-CVE-2022-42890 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache XML Graphics | Batik – through 1.15 |
References
- https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly
- [oss-security] 20221025 [CVE-2022-42890] Apache Batik information disclosure vulnerability mailing-list
- [debian-lts-announce] 20221029 [SECURITY] [DLA 3169-1] batik security update mailing-list
- DSA-5264 vendor-advisory
- GLSA-202401-11 vendor-advisory