Skip to content
OpenAdvisories
Medium · 5.4 CVE-2023-22665 EUVD-2023-1426GHSA-xgh5-gwq5-rpx8

Apache Jena: Exposure of arbitrary execution in script engine expressions.

Published Apr 25, 2023 · Updated Feb 13, 2025 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache Jena ≤ 4.7.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache-jena 4.9.0-1 —
Debian 13 apache-jena 4.9.0-1 —
Debian 12 apache-jena No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 apache-jena No fix yet —
Ubuntu 26.04 LTS apache-jena No fix yet —
Ubuntu 25.10 apache-jena No fix yet —
Ubuntu 24.04 LTS apache-jena No fix yet —
Ubuntu 22.04 LTS apache-jena No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.jena:jena < 4.8.0 4.8.0 GHSA-xgh5-gwq5-rpx8

Advisories 1

References