RCE in Apache Jena

CVE-2023-22665

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.

Vulnerability class: Log4Shell (CVE-2021-44228)

EPSS: 0.013 (68.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-22665?
CVE-2023-22665 is a medium-severity vulnerability in Apache Jena, classified under Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection). CVSS score: 5.4/10. Published 2023-04-25.
How severe is CVE-2023-22665?
Medium severity. CVSS v3 base score is 5.4 out of 10.