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

CVE-2021-33322: Liferay Portal and Liferay DXP fails to invalidate password reset tokens after use

May 24, 2022 (updated June 27, 2025)

In implementation for the portal services before 5.7.3 in Liferay Portal 7.3.0 and earlier, and Liferay DXP 7.0 before fix pack 96, 7.1 before fix pack 18, and 7.2 before fix pack 5, password reset tokens are not invalidated after a user changes their password, which allows remote attackers to change the user’s password via the old password reset token.

References

  • github.com/advisories/GHSA-vwj8-4grf-3r8v
  • github.com/liferay/liferay-portal
  • github.com/liferay/liferay-portal/commit/8f072ee8527a1dd5c0ffa91c4a78641d0e666b95
  • github.com/liferay/liferay-portal/commit/9fe453b34f58286a504d995be8ba50499adcf1b7
  • liferay.atlassian.net/browse/LPE-16981
  • liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2021-33322-password-change-does-not-invalidate-password-reset-tokens?p_r_p_assetEntryId=121610648&_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_redirect=https%3A%2F%2Fliferay.dev%3A443%2Fportal%2Fsecurity%2Fknown-vulnerabilities%3Fp_p_id%3Dcom_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_r_p_assetEntryId%3D121610648%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3Dfalse
  • nvd.nist.gov/vuln/detail/CVE-2021-33322

Code Behaviors & Features

Detect and mitigate CVE-2021-33322 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 starting from 7.0.0 before 7.0.10.fp96, all versions starting from 7.1.0 before 7.1.10.fp18, all versions starting from 7.2.0 before 7.2.10.fp5

Fixed versions

  • 7.0.10.fp96
  • 7.1.10.fp18
  • 7.2.10.fp5

Solution

Upgrade to versions 7.0.10.fp96, 7.1.10.fp18, 7.2.10.fp5 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-613: Insufficient Session Expiration

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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