CVE-2013-1768: Deserialization of Untrusted Data in Apache OpenJPA

org.apache.openjpa:openjpa Updated 02 Oct 2025

Summary

14/05/2022
Yes i
High
Not published

CVE-2013-1768: Deserialization of Untrusted Data in Apache OpenJPA. Affects org.apache.openjpa:openjpa across 2 version ranges.

>= 1.0.0, < 1.2.3 >= 2.0.0, < 2.2.2

Fixed in 1.2.3 or 2.2.2, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2013-1768 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache OpenJPA is an open-source Java persistence framework that provides object-relational mapping (ORM) capabilities. It allows developers to map Java objects to relational databases and provides features like caching, transaction management, and query optimization. OpenJPA is widely used in enterprise applications for data persistence and retrieval.

Vulnerability Detail

The vulnerability identified as CVE-2013-1768 affects Apache OpenJPA versions 1.x before 1.2.3 and 2.x before 2.2.2. It involves the BrokerFactory functionality, which creates local executable JSP files containing logging trace data during the deserialization of certain crafted OpenJPA objects. This vulnerability can be exploited by remote attackers to execute arbitrary code by creating a serialized object and leveraging improperly secured server programs. The deserialization process does not properly validate the data, allowing the execution of malicious code.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.0.0, < 1.2.3 1.2.3
  • >= 2.0.0, < 2.2.2 2.2.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the patched versions of Apache OpenJPA.

Conclusion

The vulnerability CVE-2013-1768 in Apache OpenJPA allows remote attackers to execute arbitrary code by exploiting the deserialization of untrusted data. To mitigate this risk, it is crucial to upgrade to the patched versions of Apache OpenJPA. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.openjpa:openjpa →

Share this vulnerability

FAQ

Apache OpenJPA is a Java persistence framework that provides object-relational mapping capabilities for mapping Java objects to relational databases.

Versions 1.x before 1.2.3 and 2.x before 2.2.2 are affected by this vulnerability.

Remote attackers can exploit this vulnerability by creating a serialized object and leveraging improperly secured server programs to execute arbitrary code.

No, there is no known workaround. It is recommended to upgrade to the patched versions of Apache OpenJPA.

To fix this vulnerability, upgrade to Apache OpenJPA version 1.2.3 or later for 1.x series, and version 2.2.2 or later for 2.x series.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.0.0, < 1.2.3 1.2.3
  • >= 2.0.0, < 2.2.2 2.2.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback