CVE-2022-38398 Server-Side Request Forgery Information Disclosure Vulnerability

Medium 5.3 Published Updated

An attacker can exploit a Server-Side Request Forgery vulnerability in Apache Batik to load URLs via the jar protocol, potentially disclosing sensitive information.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-38398?

CVE-2022-38398 is a medium-severity server-side request forgery vulnerability in Debian Debian Linux, published on 22 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to load a url thru the jar protocol. This issue affects Apache XML Graphics Batik 1.14.

Weakness: CWE-918

Which versions are affected by CVE-2022-38398?

4 open source packages ship an affected version, including org.apache.xmlgraphics:batik and org.apache.xmlgraphics:batik-bridge. It affects 2 products.

PackageAffectedFixed in
org.apache.xmlgraphics:batik MavenFrom 1.141.15
org.apache.xmlgraphics:batik MavenFrom 1.141.15
org.apache.xmlgraphics:batik-bridge MavenFrom 1.141.15
org.apache.xmlgraphics:batik-bridge MavenFrom 1.141.15

Products include Apache Batik, Debian Debian Linux.

How do I fix CVE-2022-38398?

Upgrade org.apache.xmlgraphics:batik to 1.15 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2022-38398 being exploited?

There is no known exploitation of CVE-2022-38398 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-38398, GHSA-c5xv-qc8p-mh2v, UBUNTU-CVE-2022-38398.

Is CVE-2022-38398 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free