Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

GHSA-mwhf-6mjm-6w3h

MEDIUMFix: liferay/liferay-portal@5e2da78

GHSA-mwhf-6mjm-6w3h is a medium-severity (CVSS 6.3) CWE-640 vulnerability in com.liferay.portal:portal-impl. O3 Security confirms whether GHSA-mwhf-6mjm-6w3h is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Liferay Portal and Liferay DXP Does Not Obfuscate Password Reminder Answers

Also known asCVE-2021-29038
Published
Feb 21, 2024
Updated
Jul 29, 2025
Affected
6 pkgs
Patched
6 / 6
Exploits
None indexed

Real-World Exposure

6 pkgs affected
com.liferay.portal:portal-implcom.liferay:com.liferay.users.admin.webcom.liferay:com.liferay.login.webcom.liferay.commerce:com.liferay.commerce.account.webcom.liferay.portal:release.dxp.bomcom.liferay.portal:release.dxp.bom

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

In Liferay Impl before 5.18.4, Liferay Users Admin Web before 5.0.33, Liferay Login Web before 5.0.18, and Liferay Commerce Account Web before 3.0.7 from Liferay Portal (7.2.0 through 7.3.5), and older unsupported versions, and Liferay DXP 7.3 before fix pack 1, 7.2 before fix pack 17, and older unsupported versions does not obfuscate password reminder answers on the page, which allows attackers to use man-in-the-middle or shoulder surfing attacks to steal user's password reminder answers.

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
Mavencom.liferay.portal:portal-implall versions5.18.4
Mavencom.liferay:com.liferay.users.admin.weball versions5.0.33
Mavencom.liferay:com.liferay.login.weball versions5.0.18
Mavencom.liferay.commerce:com.liferay.commerce.account.weball versions3.0.7
Mavencom.liferay.portal:release.dxp.bomall versions7.2.10.fp17
Mavencom.liferay.portal:release.dxp.bom7.3.0&&< 7.3.10.fp17.3.10.fp1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay.portal:portal-impl. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update com.liferay.portal:portal-impl to 5.18.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-mwhf-6mjm-6w3h is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-mwhf-6mjm-6w3h is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-mwhf-6mjm-6w3h. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

In Liferay Impl before 5.18.4, Liferay Users Admin Web before 5.0.33, Liferay Login Web before 5.0.18, and Liferay Commerce Account Web before 3.0.7 from Liferay Portal (7.2.0 through 7.3.5), and older unsupported versions, and Liferay DXP 7.3 before fix pack 1, 7.2 before fix pack 17, and older unsupported versions does not obfuscate password reminder answers on the page, which allows attackers to use man-in-the-middle or shoulder surfing attacks to steal user's password reminder answers.
O3 Security · Impact-Aware SCA

Is GHSA-mwhf-6mjm-6w3h in your dependencies?

O3 detects GHSA-mwhf-6mjm-6w3h across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.