Description
Apache Jena SDB 3.17.0 and earlier is vulnerable to a JDBC Deserialisation attack if the attacker is able to control the JDBC URL used or cause the underlying database server to return malicious data. The mySQL JDBC driver in particular is known to be vulnerable to this class of attack. As a result an application using Apache Jena SDB can be subject to RCE when connected to a malicious database server. Apache Jena SDB has been EOL since December 2020 and users should migrate to alternative options e.g. Apache Jena TDB 2.
Remediation
References
http://www.openwall.com/lists/oss-security/2022/11/14/5
https://lists.apache.org/thread/mc77cdl5stgjtjoldk467gdf756qjt31
Related Vulnerabilities
CVE-2017-9735 Vulnerability in maven package org.eclipse.jetty:jetty-util
CVE-2022-29265 Vulnerability in maven package org.apache.nifi:nifi
CVE-2015-8861 Vulnerability in maven package org.webjars:handlebars
CVE-2021-23771 Vulnerability in npm package argencoders-notevil
CVE-2019-10371 Vulnerability in maven package org.jenkins-ci.plugins:gitlab-oauth