Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') Affecting org.apache.jena:jena-arq package, versions [,4.8.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEJENA-5458967
  • published25 Apr 2023
  • disclosed25 Apr 2023
  • creditL3yx of Syclover Security Team

Introduced: 25 Apr 2023

CVE-2023-22665  (opens in a new tab)
CWE-917  (opens in a new tab)

How to fix?

Upgrade org.apache.jena:jena-arq to version 4.8.0 or higher.

Overview

org.apache.jena:jena-arq is a SPARQL 1.1 query engine for Apache Jena.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') due to insufficient validation of user queries when invoking custom scripts. Exploiting this vulnerability allows a remote user to execute arbitrary javascript via a SPARQL query.

CVSS Scores

version 3.1