VDB

CVE-2022-40146

CVE-2022-40146 PUBLISHED CVSS 7.5 HIGH

Jar url should be blocked by DefaultScriptSecurity

Reported by apache · Published September 22, 2022

batik is fixed in 1.15 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.xmlgraphics:batikMaven Central1.15
org.apache.xmlgraphics:batik-bridgeMaven Central1.15
batik-svgppAmazon Linux1.8-0.12.svn1230816.amzn2.0.1
batikAmazon Linux1.8-0.12.svn1230816.amzn2.0.1
batik-squiggleAmazon Linux1.8-0.12.svn1230816.amzn2.0.1
batik-rasterizerAmazon Linux1.8-0.12.svn1230816.amzn2.0.1
batik-javadocAmazon Linux1.8-0.12.svn1230816.amzn2.0.1

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
Apache Software FoundationApache XML GraphicsBatik 1.14
amazon:2batik-svgpp0
amazon:2batik0
amazon:2batik-squiggle0
amazon:2batik-rasterizer0
Mavenorg.apache.xmlgraphics:batik-rasterizer1.14
amazon:2batik-javadoc0
Mavenorg.apache.xmlgraphics:batik-bridge1.0
Apache Software FoundationApache XML Graphics1.14
Mavenorg.apache.xmlgraphics:batik-dom1.14
amazon:2batik-ttf2svg0
amazon:2batik-slideshow0
Mavenorg.apache.xmlgraphics:batik-svgbrowser1.14
Mavenorg.apache.xmlgraphics:batik1.0
amazon:2batik-demo0

Timeline

  • Sep 22, 2022 CVE Published
  • Sep 23, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (27 in total, the first dated here)
  • Jun 17, 2026 Coalition ESS Score
  • Nov 22, 2026 Distribution Patch (25 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-40146
vulnetix vdb fixes CVE-2022-40146

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-40146/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›