HighGHSA-cmx4-p4v5-hmr5CVE-2019-17566

Server-side request forgery (SSRF) in Apache Batik

Published 9 Feb 2022 · Updated 16 Feb 2024

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.13
Fixed in
1.13
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.xmlgraphics:batik -DdepVersion=1.13 -DforceVersion=true

Details

Apache Batik is vulnerable to server-side request forgery, caused by improper input validation by the "xlink:href" attributes. By using a specially-crafted argument, an attacker could exploit this vulnerability to cause the underlying server to make arbitrary GET requests.

Is GHSA-cmx4-p4v5-hmr5 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
  • MediumCVE-2015-0250Improper Input Validation in Apache Batik · 17 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.