GHSA-xgh5-gwq5-rpx8

Suggest an improvement
Source
https://github.com/advisories/GHSA-xgh5-gwq5-rpx8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-xgh5-gwq5-rpx8/GHSA-xgh5-gwq5-rpx8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xgh5-gwq5-rpx8
Aliases
Published
2023-04-25T09:30:29Z
Modified
2024-02-16T08:20:21.079902Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Arbitrary javascript injection in Apache Jena
Details

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.

Database specific
{
    "nvd_published_at": "2023-04-25T07:15:08Z",
    "cwe_ids": [
        "CWE-917"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-04-25T19:47:40Z"
}
References

Affected packages

Maven / org.apache.jena:jena

Package

Name
org.apache.jena:jena
View open source insights on deps.dev
Purl
pkg:maven/org.apache.jena/jena

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.8.0

Affected versions

2.*

2.7.1
2.7.2
2.7.3
2.7.4
2.10.0
2.10.1
2.11.0
2.11.1
2.11.2
2.12.0
2.12.1
2.13.0

3.*

3.0.0
3.0.1
3.1.0
3.1.1
3.2.0
3.3.0
3.4.0
3.5.0
3.6.0
3.7.0
3.8.0
3.9.0
3.10.0
3.11.0
3.12.0
3.13.0
3.13.1
3.14.0
3.15.0
3.16.0
3.17.0

4.*

4.0.0
4.1.0
4.2.0
4.3.0
4.3.1
4.3.2
4.4.0
4.5.0
4.6.0
4.6.1
4.7.0