CVE-2023-32200 Apache Jena: Exposure of execution in script engine expressions.

High 8.8 Published Updated

Remote attackers can execute arbitrary JavaScript via SPARQL queries due to insufficient restrictions in Apache Jena script engine expressions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-32200?

CVE-2023-32200 is a high-severity code injection vulnerability in Apache Jena, published on 12 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

There is insufficient restrictions of called script functions in Apache Jena versions 4.8.0 and earlier. It allows a remote user to execute javascript via a SPARQL query. This issue affects Apache Jena: from 3.7.0 through 4.8.0.

Weakness: CWE-917

Which versions are affected by CVE-2023-32200?

2 open source packages ship an affected version, including org.apache.jena:jena. It affects 1 product.

PackageAffectedFixed in
org.apache.jena:jena MavenFrom 3.7.04.9.0
org.apache.jena:jena MavenFrom 3.7.04.9.0

Products include Apache Jena.

How do I fix CVE-2023-32200?

Upgrade org.apache.jena:jena to 4.9.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-32200 being exploited?

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

Sources

Also known as DEBIAN-CVE-2023-32200, GHSA-j927-w6g7-7c7w, UBUNTU-CVE-2023-32200.

Is CVE-2023-32200 in your software?

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

Check your SBOMs for free