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

EcosystemPackageFixed inAdvisory
Debian:12batik1.15+dfsg-1DEBIAN-CVE-2022-40146
Debian:13batik1.15+dfsg-1DEBIAN-CVE-2022-40146
Debian:14batik1.15+dfsg-1DEBIAN-CVE-2022-40146
Mavenorg.apache.xmlgraphics:batik1.15GHSA-h4qg-p7r2-cpg3
Ubuntu:22.04:LTSbatik1.14-1ubuntu0.2USN-6117-1
Ubuntu:22.04:LTSbatik1.14-1ubuntu0.2UBUNTU-CVE-2022-40146
Ubuntu:24.04:LTSbatikno fix listedUBUNTU-CVE-2022-40146
Ubuntu:25.10batikno fix listedUBUNTU-CVE-2022-40146
Ubuntu:26.04:LTSbatikno fix listedUBUNTU-CVE-2022-40146
Ubuntu:26.10batikno fix listedUBUNTU-CVE-2022-40146

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache XML Graphics Batik 1.14

Weakness: CWE-918

References