CVE-2022-45136

Apache Jena SDB allows arbitrary deserialisation via JDBC

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

Workaround:

  • Apache Jena SDB has been EOL since December 2020, users should migrate to alternative options from the Apache Jena project e.g. Apache Jena TDB 2 or from 3rd party vendors.
  • Users utilising Apache Jena SDB with mySQL should ensure they explicitly set autoDeserialize=false on their JDBC connection strings. It is also recommended that users ensure that any ability to set the JDBC connection string is limited to appropriate users.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 0.28%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Jena SDB
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-45136?
CVE-2022-45136 has been scored as a critical severity vulnerability.
How to fix CVE-2022-45136?
As a workaround for remediating CVE-2022-45136: Apache Jena SDB has been EOL since December 2020, users should migrate to alternative options from the Apache Jena project e.g. Apache Jena TDB 2 or from 3rd party vendors.
Is CVE-2022-45136 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-45136 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-45136?
CVE-2022-45136 affects Apache Software Foundation Apache Jena SDB.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.