CVE-2021-29040 json
Liferay Portal and Liferay DXP Reveals Data via Overly Verbose Error Messages
published 5y ago modified 4mo ago also GHSA-87x7-pwrx-jch7 , EUVD-2021-15686
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.liferay.portal:release.portal.bom 7.3.5
- maven com.liferay.portal:release.dxp.bom 7.0.10.fp97, 7.1.10.fp20, 7.2.10.fp10
- liferay digital_experience_platform 7.0
Is CVE-2021-29040 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.08% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.liferay.portal:release.portal.bom | <7.3.5 |
7.3.5 |
| maven | com.liferay.portal:release.dxp.bom | <7.0.10.fp97 >=7.1.0, <7.1.10.fp20 >=7.2.0, <7.2.10.fp10 |
7.0.10.fp97 7.1.10.fp20 7.2.10.fp10 |
Classification
- Weakness
-
- CWE-209 Generation of Error Message Containing Sensitive Information
References
-
portal.liferay.dev
/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743429
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-29040
advisory
-
github.com
/liferay/liferay-portal
package
-
web.archive.org
/web/20220828222656/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmV
web
-
liferay.com
web
Sources
- CVE List CVE-2021-29040
- GitHub Advisory GHSA-87x7-pwrx-jch7
- NVD CVE-2021-29040
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.