CVE-2022-42124 Inefficient Regular Expression Complexity in Liferay Portal

High 7.5 Published Updated

Remote attackers can cause denial of service by sending crafted payloads to the layout prototype name field, consuming excessive server resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-42124?

CVE-2022-42124 is a high-severity denial of service vulnerability in Liferay Digital Experience Platform, published on 15 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ReDoS vulnerability in LayoutPageTemplateEntryUpgradeProcess in Liferay Portal 7.3.2 through 7.4.3.4 and Liferay DXP 7.2 fix pack 9 through fix pack 18, 7.3 before update 4, and DXP 7.4 GA allows remote attackers to consume an excessive amount of server resources via a crafted payload injected into the 'name' field of a layout prototype.

Weakness: CWE-1333

Which versions are affected by CVE-2022-42124?

3 open source packages ship an affected version, including com.liferay.portal:release.portal.bom and liferay. It affects 2 products.

PackageAffectedFixed in
com.liferay.portal:release.portal.bom MavenFrom 7.3.27.4.3.5
com.liferay.portal:release.portal.bom MavenFrom 7.3.27.4.3.5
liferay BitnamiFrom 7.3.0 to 7.3.0None

Products include Liferay Digital Experience Platform, Liferay Liferay Portal.

How do I fix CVE-2022-42124?

Upgrade com.liferay.portal:release.portal.bom to 7.4.3.5 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-42124 being exploited?

There is no known exploitation of CVE-2022-42124 in the wild and no public exploit code.

All Liferay Digital Experience Platform vulnerabilities

Sources

Also known as BIT-liferay-2022-42124, GHSA-vjj4-qwcm-552h.

Is CVE-2022-42124 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free