HighGHSA-r29w-r9ph-vm76CVE-2022-41704
Apache XML Graphics Batik vulnerable to code execution via SVG.
Published 25 Oct 2022 · Updated 16 Feb 2024
Is your project on an affected org.apache.xmlgraphics:batik?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.16
- Fixed in
- 1.16
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.xmlgraphics:batik -DdepVersion=1.16 -DforceVersion=trueDetails
A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.
Is GHSA-r29w-r9ph-vm76 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.xmlgraphics:batik, and gives you the command that fixes it.
More advisories for org.apache.xmlgraphics:batik
- HighCVE-2022-42890Untrusted code execution in Apache XML Graphics Batik · 25 Oct 2022
- HighCVE-2022-40146Apache Batik vulnerable to Server-Side Request Forgery · 23 Sept 2022
- MediumCVE-2022-38648Apache Batik vulnerable to Server-Side Request Forgery · 23 Sept 2022
- MediumCVE-2022-38398Apache Batik Server-Side Request Forgery · 23 Sept 2022
- MediumCVE-2015-0250Improper Input Validation in Apache Batik · 17 May 2022
- CriticalCVE-2018-8013Deserialization of Untrusted Data in Apache Batik · 13 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-41704
- Linkgithub.com/apache/xmlgraphics-batik/commit/905f368b50c2567cf2c4869a0ab596a7b1b5125c
- Linkissues.apache.org/jira/browse/BATIK-1338
- Linklists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf
- Linklists.debian.org/debian-lts-announce/2022/10/msg00038.html
- Linksecurity.gentoo.org/glsa/202401-11
- Linkwww.debian.org/security/2022/dsa-5264
- Linkxmlgraphics.apache.org/security.html
- Linksvn.apache.org/repos/asf/xmlgraphics/batik/trunk
- Linkwww.openwall.com/lists/oss-security/2022/10/25/2
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.