MEDIUM5.3
GHSA-87x7-pwrx-jch7
Liferay Portal and Liferay DXP Reveals Data via Overly Verbose Error Messages
Quick fix
GHSA-87x7-pwrx-jch7 — com.liferay.portal:release.portal.bom: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.3.5</version> for com.liferay.portal:release.portal.bomDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.liferay.portal:release.portal.bom
Introduced in:
0Fixed in: 7.3.5Fix
# pom.xml: bump <version>7.3.5</version> for com.liferay.portal:release.portal.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
0Fixed in: 7.0.10.fp97Fix
# pom.xml: bump <version>7.0.10.fp97</version> for com.liferay.portal:release.dxp.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.1.0Fixed in: 7.1.10.fp20Fix
# pom.xml: bump <version>7.1.10.fp20</version> for com.liferay.portal:release.dxp.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.2.0Fixed in: 7.2.10.fp10Fix
# pom.xml: bump <version>7.2.10.fp10</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2021-29040[ADVISORY]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743429[WEB]
- https://web.archive.org/web/20220828222656/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743429[WEB]
- http://liferay.com[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/com.liferay.portal/release.portal.bom"]}'