Legacy Knowledge Base
Published Jun. 30, 2025

Detected vulnerabilities related to Jettison

Written By

Neil Cuzon

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • A security scan has picked up the following vulnerabilities related to jettison-1.x.x jar: CVE-2022-40150 & CVE-2022-40149. This jar is found in marketplace\Liferay Foundation - Liferay Portal Remote - Impl.lpkg\com.liferay.portal.remote.rest.extender-6.0.12.jar\lib directory.
  • Versions of Jettison below Version 1.5.1 could be vulnerable.

CVE-2022-40149: Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

CVE-2022-40150: Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user-supplied input, an attacker may supply content that causes the parser to crash by Out of memory. This effect may support a denial of service attack.

Environment

  • Liferay DXP 7.2, 7.3, 7.4, (7.4 Update 48 Resolved)

Resolution

  • Liferay is vulnerable to this CVE unless Jettison is upgraded to 1.5.1 or later. This can be done by requesting a hotfix containing the fix "LPE-17635". 

  • To verify that Jettison has been updated successfully, you can view the component's version at the physical address below: 
    osgi\marketplace\Liferay Foundation - Liferay Portal Remote - Impl.lpkg\com.liferay.portal.remote.rest.extender-6.0.12..jar\lib 

Additional Information: 
Use of library with known vulnerability: Jettison 1.3.3

Did this article resolve your issue ?

Legacy Knowledge Base