{"id":"CVE-2023-22665","state":"PUBLISHED","title":"Apache Jena: Exposure of arbitrary execution in script engine expressions.","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.","publishedAt":"2023-04-25T06:44:21.516Z","updatedAt":"2025-02-13T16:44:03.940Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Jena"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Jena","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.7.0","versionType":"semver"}]}],"references":["https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s","http://www.openwall.com/lists/oss-security/2023/07/11/11"],"weaknesses":["CWE-917"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/22xxx/CVE-2023-22665.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-22665","state":"PUBLISHED","datePublished":"2023-04-25T06:44:21.516Z","dateUpdated":"2025-02-13T16:44:03.940Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2023-01-05T14:41:04.515Z"},"containers":{"cna":{"title":"Apache Jena: Exposure of arbitrary execution in script engine expressions.","descriptions":[{"lang":"en","value":"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":[{"vendor":"Apache Software Foundation","product":"Apache Jena","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.7.0","versionType":"semver"}]}],"references":[{"url":"https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/11/11"}],"metrics":[{"other":{"content":{"text":"important"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-917","description":"CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2023-07-11T20:06:23.134Z"},"credits":[{"lang":"en","type":"reporter","value":"L3yx of Syclover Security Team"}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Users not using custom scripted functions are advised to run Java17 or later with no script engine added to the deployment."}],"value":"Users not using custom scripted functions are advised to run Java17 or later with no script engine added to the deployment."}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s","tags":["vendor-advisory","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/11/11","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T10:13:49.886Z"}}]}}}