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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Jena | 3.7.0 – ≤ 4.8.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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | apache-jena | 4.9.0-1 | — |
| Debian 13 | apache-jena | 4.9.0-1 | — |
| Debian 12 | apache-jena | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.jena:jena | >= 3.7.0, < 4.9.0 | 4.9.0 | GHSA-j927-w6g7-7c7w |