CVE-2021-33327 is a medium-severity (CVSS 4.3) Incorrect Default Permissions vulnerability in com.liferay:com.liferay.portlet.configuration.web. A fix is available for com.liferay:com.liferay.portlet.configuration.web — see the affected versions and patch details below.
Liferay Portal and Liferay DXP does not properly check user permission
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
com.liferay:com.liferay.portlet.configuration.web☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:release.dxp.bomReal-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
The Portlet Configuration module before 4.0.13 in Liferay Portal 7.2.0 through 7.3.3, and Liferay DXP 7.0 fix pack pack 93 and 94, 7.1 fix pack 18, and 7.2 before fix pack 8, does not properly check user permission, which allows remote authenticated users to view the Guest and User role even if "Role Visibility" is enabled.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.liferay:com.liferay.portlet.configuration.web | all versions | 4.0.13com.liferay:com.liferay.portlet.configuration.web:4.0.13 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.0.10.fp93&&< 7.0.10.fp95 | 7.0.10.fp95com.liferay.portal:release.dxp.bom:7.0.10.fp95 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.1.10.fp18&&< 7.1.10.fp19 | 7.1.10.fp19com.liferay.portal:release.dxp.bom:7.1.10.fp19 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.2.0&&< 7.2.10.fp8 | 7.2.10.fp8com.liferay.portal:release.dxp.bom:7.2.10.fp8 |
Affected Products
digital experience platformliferayliferay portalliferayDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay:com.liferay.portlet.configuration.web, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.liferay:com.liferay.portlet.configuration.web to 4.0.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-33327 is resolved across your whole dependency graph.
Workarounds
Close the privilege gap rather than the entry point: audit which accounts, roles and service identities can reach the affected operation, drop the component to the least privilege it actually needs, and review file and directory permissions created by earlier installs — a default left in place is what makes this reachable.
Frequently Asked Questions
Is CVE-2021-33327 in your dependencies?
Find it across Maven, including transitive dependencies.