Cloudanix VulnDB

CVE-2022-45136

Critical · 9.8

CVSS

9.8

EPSS

1.7%

Published

Nov 14, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

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

  1. Identify an application using the vulnerable component connected to a database
  2. Control or influence the JDBC connection string or database responses
  3. Serve a malicious serialized object via the JDBC driver
  4. 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