CVE-2022-40146: Jar url should be blocked by DefaultScriptSecurity
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/Batikto a version that resolves this vulnerability.Fixed in 1.15 - Upgrade
Upgrade
maven/org.apache.xmlgraphics:batikto a version that resolves this vulnerability.Fixed in 1.15 - Upgrade
Upgrade
debian/batikto a version that resolves this vulnerability.Fixed in 1.10-2+deb10u3Fixed in 1.16+dfsg-1+deb12u1Fixed in 1.17+dfsg-1 - Upgrade
Upgrade
ubuntu/batikto a version that resolves this vulnerability.Fixed in 1.10-2~18.04.1 - Upgrade
Upgrade
ubuntu/batikto a version that resolves this vulnerability.Fixed in 1.12-1ubuntu0.1 - Upgrade
Upgrade
ubuntu/batikto a version that resolves this vulnerability.Fixed in 1.14-1ubuntu0.2 - Upgrade
Upgrade
ubuntu/batikto a version that resolves this vulnerability.Fixed in 1.14-2ubuntu0.1 - Upgrade
Upgrade
ubuntu/batikto a version that resolves this vulnerability.Fixed in 1.7.ubuntu-8ubuntu2.14.04.3+ - Upgrade
Upgrade
ubuntu/batikto a version that resolves this vulnerability.Fixed in 1.8-3ubuntu1+
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
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.
What is the severity of CVE-2022-40146?
CVE-2022-40146 has a severity level of high.
How does CVE-2022-40146 affect Batik?
CVE-2022-40146 affects Apache XML Graphics Batik 1.14.
How can I fix CVE-2022-40146 in Batik?
To fix CVE-2022-40146 in Batik, update to version 1.15.
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).