Every CVE Search/ Get API key

CVE-2021-29040

Liferay Portal and Liferay DXP Reveals Data via Overly Verbose Error Messages

5.3 MediumFix available

The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused attacks via crafted inputs.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

1.08%Up 0.2 points since May 17, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused attacks via crafted inputs.

Record
CVE-2021-29040
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-209
Updated
2026-11-02
CVE List No score

The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused attacks via crafted inputs.

Record
CVE-2021-29040
Updated
2026-11-02
EUVDEUVD-2021-15686 No score

The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused attacks via crafted inputs.

Record
EUVD-2021-15686
Updated
2026-11-02
GitHub AdvisoriesGHSA-87x7-pwrx-jch7 5.3

Liferay Portal and Liferay DXP Reveals Data via Overly Verbose Error Messages

The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused attacks via crafted inputs.

Record
GHSA-87x7-pwrx-jch7
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-209
Updated
2026-11-02
OSV 5.3

The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused attacks via crafted inputs.

Record
CVE-2021-29040
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVGHSA-87x7-pwrx-jch7 5.3

Liferay Portal and Liferay DXP Reveals Data via Overly Verbose Error Messages

The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused attacks via crafted inputs.

Record
GHSA-87x7-pwrx-jch7
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-209
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
com.liferay.portal:release.portal.bom
Maven
before 7.3.5
7.3.5
com.liferay.portal:release.dxp.bom
Maven
before 7.0.10.fp97
7.0.10.fp97
com.liferay.portal:release.dxp.bom
Maven
7.1.0 up to 7.1.10.fp20
7.1.10.fp20
com.liferay.portal:release.dxp.bom
Maven
7.2.0 up to 7.2.10.fp10
7.2.10.fp10
com.liferay.portal:release.portal.bom
Maven
before 7.3.5, plus listed versions
7.0.67.0.6-17.0.6-27.1.07.1.1
Show 15 moreShow less
7.1.27.1.37.1.3-17.2.07.2.17.2.1-17.3.07.3.0-17.3.17.3.1-17.3.27.3.2-17.3.37.3.3-17.3.4
7.3.5
com.liferay.portal:release.dxp.bom
Maven
before 7.0.10.fp97, plus listed versions
7.0.10.fp607.0.10.fp617.0.10.fp627.0.10.fp637.0.10.fp64
Show 36 moreShow less
7.0.10.fp657.0.10.fp667.0.10.fp677.0.10.fp687.0.10.fp697.0.10.fp707.0.10.fp717.0.10.fp727.0.10.fp737.0.10.fp747.0.10.fp757.0.10.fp767.0.10.fp777.0.10.fp787.0.10.fp797.0.10.fp807.0.10.fp817.0.10.fp827.0.10.fp837.0.10.fp847.0.10.fp857.0.10.fp85-17.0.10.fp867.0.10.fp86-17.0.10.fp877.0.10.fp87-17.0.10.fp887.0.10.fp897.0.10.fp907.0.10.fp917.0.10.fp927.0.10.fp947.0.10.fp94-17.0.10.fp957.0.10.fp95-17.0.10.fp95-2
7.0.10.fp97
com.liferay.portal:release.dxp.bom
Maven
7.1.0 up to 7.1.10.fp20, plus listed versions
7.1.107.1.10.fp17.1.10.fp107.1.10.fp117.1.10.fp12
Show 15 moreShow less
7.1.10.fp137.1.10.fp147.1.10.fp157.1.10.fp167.1.10.fp177.1.10.fp187.1.10.fp197.1.10.fp27.1.10.fp37.1.10.fp47.1.10.fp57.1.10.fp67.1.10.fp77.1.10.fp87.1.10.fp9
7.1.10.fp20
com.liferay.portal:release.dxp.bom
Maven
7.2.0 up to 7.2.10.fp10, plus listed versions
7.2.17.2.107.2.10.fp17.2.10.fp1-17.2.10.fp2
Show 7 moreShow less
7.2.10.fp37.2.10.fp47.2.10.fp57.2.10.fp67.2.10.fp77.2.10.fp87.2.10.fp9
7.2.10.fp10

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-29040 is a medium vulnerability (CVSS 5.3) in Liferay Portal, published May 16, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.08%, the 65th percentile. Fixed in com.liferay.portal:release.portal.bom 7.3.5.

References

MoveEnter Open