MediumGHSA-wfw6-mmmp-87xmCVE-2015-0250

Improper Input Validation in Apache Batik

Published 17 May 2022 · Updated 8 Nov 2023

Is your project on an affected org.apache.xmlgraphics:batik?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=1.0 <1.8
Fixed in
1.8
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.xmlgraphics:batik -DdepVersion=1.8 -DforceVersion=true

Details

XML external entity (XXE) vulnerability in the SVG to (1) PNG and (2) JPG conversion classes in Apache Batik 1.x before 1.8 allows remote attackers to read arbitrary files or cause a denial of service via a crafted SVG file.

Is GHSA-wfw6-mmmp-87xm 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-41704Apache XML Graphics Batik vulnerable to code execution via SVG. · 25 Oct 2022
  • 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
  • CriticalCVE-2018-8013Deserialization of Untrusted Data in Apache Batik · 13 May 2022
All 9 advisories for org.apache.xmlgraphics:batik

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.