Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.liferay.portal/com.liferay.portal.impl
  4. ›
  5. CVE-2021-33321

CVE-2021-33321: Liferay Portal and Liferay DXP insecure default configuration

May 24, 2022 (updated June 27, 2025)

Insecure default configuration in portal services implementation before 5.11.0 in Liferay Portal 6.2.3 through 7.3.2, and Liferay DXP before 7.3, allows remote attackers to enumerate user email address via the forgot password functionality. The portal.property login.secure.forgot.password should be defaulted to true.

References

  • github.com/advisories/GHSA-jfch-m2x3-2v66
  • github.com/liferay/liferay-portal
  • github.com/liferay/liferay-portal/commit/06df28c5ad618afed967fa485418e6cc29c70f38
  • github.com/liferay/liferay-portal/commit/37de1d78d9b1c4a473e3233a6ea146c741075e18
  • help.liferay.com/hc/en-us/articles/360050785632
  • nvd.nist.gov/vuln/detail/CVE-2021-33321
  • portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120748055

Code Behaviors & Features

Detect and mitigate CVE-2021-33321 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 5.11.0

Fixed versions

  • 5.11.0

Solution

Upgrade to version 5.11.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-640: Weak Password Recovery Mechanism for Forgotten Password

Source file

maven/com.liferay.portal/com.liferay.portal.impl/CVE-2021-33321.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:51 +0000.