CVE-2022-40146: Jar url should be blocked by DefaultScriptSecurity

Published Sep 22, 2022
·
Updated

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 Software

12 affected componentsFixes available
Apache Batik=1.14
redhat/Batik<1.15
1.15
maven/org.apache.xmlgraphics:batik>=1.0<1.15
1.15
debian/batik<=1.10-2+deb10u1, <=1.12-4+deb11u2, <=1.12-4+deb11u1
1.10-2+deb10u31.16+dfsg-1+deb12u11.17+dfsg-1
ubuntu/batik<1.10-2~18.04.1
1.10-2~18.04.1
ubuntu/batik<1.12-1ubuntu0.1
1.12-1ubuntu0.1
ubuntu/batik<1.14-1ubuntu0.2
1.14-1ubuntu0.2
ubuntu/batik<1.14-2ubuntu0.1
1.14-2ubuntu0.1
ubuntu/batik<1.7.ubuntu-8ubuntu2.14.04.3+
1.7.ubuntu-8ubuntu2.14.04.3+
ubuntu/batik<1.8-3ubuntu1+
1.8-3ubuntu1+
Debian Debian Linux=10.0
IBM Infosphere Data Architect<=9.2.1

Event History

Sep 22, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Sep 23, 2022
Advisory Published
via GitHub·12:00 AM
Jan 12, 2024
Data Sourced
via Launchpad·12:11 AM
Description
Mar 4, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-40146?

CVE-2022-40146 is a Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics that allows an attacker to access files using a Jar URL.

2

What is the severity of CVE-2022-40146?

CVE-2022-40146 has a severity level of high.

3

How does CVE-2022-40146 affect Batik?

CVE-2022-40146 affects Apache XML Graphics Batik 1.14.

4

How can I fix CVE-2022-40146 in Batik?

To fix CVE-2022-40146 in Batik, update to version 1.15.

5

Where can I find more information about CVE-2022-40146?

More information about CVE-2022-40146 can be found in the following references: [Reference 1](https://lists.apache.org/thread/hxtddqjty2sbs12y97c8g7xfh17jzxsx), [Reference 2](https://launchpad.net/bugs/cve/CVE-2022-40146), [Reference 3](https://www.cve.org/CVERecord?id=CVE-2022-40146), [Reference 4](https://nvd.nist.gov/vuln/detail/CVE-2022-40146), [Reference 5](http://svn.apache.org/viewvc?view=revision&revision=1903910), [Reference 6](https://issues.apache.org/jira/browse/BATIK-1335), [Reference 7](https://lists.apache.org/thread/hxtddqjty2sbs12y97c8g7xfh17jzxsx).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203