Description
The BrokerFactory functionality in Apache OpenJPA 1.x before 1.2.3 and 2.x before 2.2.2 creates local executable JSP files containing logging trace data produced during deserialization of certain crafted OpenJPA objects, which makes it easier for remote attackers to execute arbitrary code by creating a serialized object and leveraging improperly secured server programs.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openjpa | 2.2.2-1 | — |
| Debian 13 | openjpa | 2.2.2-1 | — |
| Debian 12 | openjpa | 2.2.2-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.openjpa:openjpa | >= 1.0.0, < 1.2.3 | 1.2.3 | GHSA-j65f-mvgw-prp2 |
| Maven | org.apache.openjpa:openjpa | >= 2.0.0, < 2.2.2 | 2.2.2 | GHSA-j65f-mvgw-prp2 |
References
- RHSA-2013:1862 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1462225
- PM86780 vendor-advisory
- 20130612 [CVE-2013-1768] Apache OpenJPA security vulnerability mailing-list
- http://www-01.ibm.com/support/docview.wss?uid=swg21635999
- http://svn.apache.org/viewvc?view=revision&revision=1462488
- http://www-01.ibm.com/support/docview.wss?uid=swg21644047
- openjpa-cve20131768-command-execution(82268) vdb-entry
- http://svn.apache.org/viewvc?view=revision&revision=1462328
- http://svn.apache.org/viewvc?view=revision&revision=1462558
- http://svn.apache.org/viewvc?view=revision&revision=1462512
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- PM86786 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1462076
- PM86788 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1462318
- 60534 vdb-entry
- http://svn.apache.org/viewvc?view=revision&revision=1462268
- PM86791 vendor-advisory