CVE-2022-45136
Critical · 9.8CVSS
9.8
EPSS
1.7%
Published
Nov 14, 2022
CISA due date
—
Cloudanix analysis
An old unsupported database library can let attackers take over systems by sending bad data through normal database connections.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Deserialization
- Remediation
- No Fix Yet
- Effort
- High
- Patch risk
- High
What it actually does
Deserialization of untrusted data via a controllable JDBC URL or malicious database responses allows remote code execution when using vulnerable JDBC drivers such as MySQL.
Why it matters to the business
Organizations relying on the affected end-of-life component face risk of complete system compromise, data breach, and operational disruption with no vendor support available.
How an attack unfolds
An attacker supplies a malicious JDBC URL or compromises the database server to return crafted serialized objects; the vulnerable driver deserializes the payload during connection, executing attacker-controlled code and granting remote access.
How to fix it
Migrate immediately from the end-of-life Apache Jena SDB component to Apache Jena TDB 2 or another supported alternative; remove or isolate any remaining deployments.
How to confirm the fix worked
Confirm the component is no longer present in the environment, review all database connection configurations for external URL control, and verify migration to a supported storage backend.
Typical attack path
- Identify an application using the vulnerable component connected to a database
- Control or influence the JDBC connection string or database responses
- Serve a malicious serialized object via the JDBC driver
- Trigger deserialization to achieve code execution on the application host
How to detect it
Review application logs for unexpected JDBC connection attempts or errors, inspect process execution following database interactions, and search for serialized object artifacts in network or database traffic.
What your security team should do
- Treat as high urgency due to RCE potential and lack of patches for the EOL product
- Inventory all applications using the affected component and prioritize migration
- Block or monitor outbound JDBC connections to untrusted database endpoints
- Implement network segmentation around database-dependent services
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.apache.jena:jena-sdb | 0 | No fix |
| Debian:12 | apache-jena | 0 | 4.5.0-1 |
| Debian:13 | apache-jena | 0 | 4.5.0-1 |
| Ubuntu:16.04:LTS | sdb | 0 | No fix |
| Ubuntu:18.04:LTS | sdb | 0 | No fix |
| Ubuntu:20.04:LTS | sdb | 0 | No fix |
| Ubuntu:22.04:LTS | apache-jena | 0 | No fix |
| Ubuntu:22.04:LTS | sdb | 0 | No fix |
| Ubuntu:24.04:LTS | apache-jena | 0 | No fix |
| Ubuntu:24.10 | apache-jena | 0 | No fix |
| Ubuntu:25.04 | apache-jena | 0 | No fix |
| Ubuntu:25.10 | apache-jena | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | sdb | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | sdb | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | sdb | 0 | No fix |
| maven | org.apache.jena/jena-sdb | 0 | No fix |
Related vulnerabilities
- CVE-2023-32200 There is insufficient restrictions of called script functions in Apache Jena versions… Also affects apache-jena
- CVE-2023-22665 There is insufficient checking of user queries in Apache Jena versions 4.7.0 and earlier… Also affects apache-jena
- CVE-2022-28890 A vulnerability in the RDF/XML parser of Apache Jena allows an attacker to cause an… Also affects apache-jena
- CVE-2026-114724 Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 contains an object injection… CWE-502
- CVE-2026-112081 A vulnerability was determined in hankcs HanLP up to 2.1.0-beta.64. CWE-502
- CVE-2026-96745 Deserialization of untrusted data in the command monitoring support of the MongoDB PHP… CWE-502
- CVE-2026-62107 Unauthenticated PHP Object Injection in Masteriyo - LMS <= 3.4.0 versions. CWE-502
- CVE-2026-62103 Unauthenticated PHP Object Injection in Everest Forms <= 3.6.0 versions. CWE-502