Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.liferay.portal/release.dxp.bom
  4. ›
  5. CVE-2021-29040

CVE-2021-29040: Liferay Portal and Liferay DXP Reveals Data via Overly Verbose Error Messages

May 24, 2022 (updated May 28, 2025)

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.

References

  • github.com/advisories/GHSA-87x7-pwrx-jch7
  • github.com/liferay/liferay-portal
  • nvd.nist.gov/vuln/detail/CVE-2021-29040
  • portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743429
  • web.archive.org/web/20220828222656/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743429

Code Behaviors & Features

Detect and mitigate CVE-2021-29040 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.0.10.fp97, all versions starting from 7.1.0 before 7.1.10.fp20, all versions starting from 7.2.0 before 7.2.10.fp10

Fixed versions

  • 7.0.10.fp97
  • 7.1.10.fp20
  • 7.2.10.fp10

Solution

Upgrade to versions 7.0.10.fp97, 7.1.10.fp20, 7.2.10.fp10 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-209: Generation of Error Message Containing Sensitive Information

Source file

maven/com.liferay.portal/release.dxp.bom/CVE-2021-29040.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:53 +0000.