Vulnerability · Published Sep 22, 2022 · Assigned by apache
CVE-2022-40146Jar url should be blocked by DefaultScriptSecurity
High 7.5
In plain English
A high-severity server-side request forgery 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 7.4% (higher than 94% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)7.4%top 5.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access files using a Jar url. This issue affects Apache XML Graphics Batik 1.14.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | batik | 1.15+dfsg-1 | DEBIAN-CVE-2022-40146 |
| Debian:13 | batik | 1.15+dfsg-1 | DEBIAN-CVE-2022-40146 |
| Debian:14 | batik | 1.15+dfsg-1 | DEBIAN-CVE-2022-40146 |
| Maven | org.apache.xmlgraphics:batik | 1.15 | GHSA-h4qg-p7r2-cpg3 |
| Ubuntu:22.04:LTS | batik | 1.14-1ubuntu0.2 | USN-6117-1 |
| Ubuntu:22.04:LTS | batik | 1.14-1ubuntu0.2 | UBUNTU-CVE-2022-40146 |
| Ubuntu:24.04:LTS | batik | no fix listed | UBUNTU-CVE-2022-40146 |
| Ubuntu:25.10 | batik | no fix listed | UBUNTU-CVE-2022-40146 |
| Ubuntu:26.04:LTS | batik | no fix listed | UBUNTU-CVE-2022-40146 |
| Ubuntu:26.10 | batik | no fix listed | UBUNTU-CVE-2022-40146 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache XML Graphics | Batik 1.14 |
Weakness: CWE-918