Vulnerability · Published Apr 25, 2023 · Assigned by apache

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

Medium 5.4

In plain English

A medium-severity expression language injection in Apache Jena from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.4Medium
Exploit odds (30 days)1.3%top 28.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

There is insufficient checking of user queries in Apache Jena versions 4.7.0 and earlier, when invoking custom scripts. It allows a remote user to execute arbitrary javascript via a SPARQL query.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12apache-jenano fix listedDEBIAN-CVE-2023-22665
Debian:13apache-jena4.9.0-1DEBIAN-CVE-2023-22665
Debian:14apache-jena4.9.0-1DEBIAN-CVE-2023-22665
Mavenorg.apache.jena:jena4.8.0GHSA-xgh5-gwq5-rpx8
Ubuntu:22.04:LTSapache-jenano fix listedUBUNTU-CVE-2023-22665
Ubuntu:24.04:LTSapache-jenano fix listedUBUNTU-CVE-2023-22665
Ubuntu:25.10apache-jenano fix listedUBUNTU-CVE-2023-22665
Ubuntu:26.04:LTSapache-jenano fix listedUBUNTU-CVE-2023-22665
Ubuntu:26.10apache-jenano fix listedUBUNTU-CVE-2023-22665

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Jena 0 – through 4.7.0

Weakness: CWE-917

References