CVE-2021-38266 json
Liferay Portal and Liferay DXP fails to properly import users from LDAP
published 4y ago modified 4mo ago also BIT-liferay-2021-38266 , EUVD-2021-24724 , GHSA-jp3m-vh3g-6ggp
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
The Portal Security module in Liferay Portal 7.2.1 and earlier, and Liferay DXP 7.0 before fix pack 90, 7.1 before fix pack 17 and 7.2 before fix pack 5 does not correctly import users from LDAP, which allows remote attackers to prevent a legitimate user from authenticating by attempting to sign in as a user that exist in LDAP.
Patch / fix
- maven com.liferay:com.liferay.portal.security.ldap.impl 2.0.19
- maven com.liferay.portal:release.dxp.bom 7.3.0-ga1
Is CVE-2021-38266 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.74% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.liferay:com.liferay.portal.security.ldap.impl | <2.0.19 |
2.0.19 |
| maven | com.liferay.portal:release.dxp.bom | <7.3.0-ga1 |
7.3.0-ga1 |
| bitnami | liferay | >=7.0.0, <=7.0.0 >=7.1.0, <=7.1.0 >=7.2.0, <=7.2.0 >=7.0-fix.0, <=7.0-fix.0 >=7.1-fix.0, <=7.1-fix.0 >=7.2-fix.0, <=7.2-fix.0 |
no fix listed |
References
-
github.com
/liferay/liferay-portal/commit/c3d1e3c7b18be0791360bb57428ea8234bcbb736
web
-
portal.liferay.dev
/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-38266
vendor-advisory, web
-
issues.liferay.com
/browse/LPE-17191
web, issue-tracking, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-38266
advisory
-
github.com
/liferay/liferay-portal
package
-
liferay.dev
/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2021-38266?p_r_p_assetEntryId=121611
web
-
liferay.com
web
Sources
- CVE List CVE-2021-38266
- GitHub Advisory GHSA-jp3m-vh3g-6ggp
- NVD CVE-2021-38266
- OSV BIT-liferay-2021-38266
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.