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-2022-28366 Vulnerability in maven package org.codelibs:nekohtml
CVE-2021-29620 Vulnerability in maven package com.epam.reportportal:service-api
CVE-2020-1913 Vulnerability in npm package hermes-engine
CVE-2019-8331 Vulnerability in maven package org.webjars.bowergithub.jasny:bootstrap
CVE-2020-2118 Vulnerability in maven package org.jenkins-ci.plugins:pipeline-githubnotify-step