CVE-2021-38266
Java vulnerability analysis and mitigation

Overview

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 contains a vulnerability in its LDAP user import functionality. The vulnerability was assigned identifier CVE-2021-38266 and was disclosed on August 30, 2021. This security issue affects the authentication mechanism when importing users from LDAP systems (Liferay Advisory).

Technical details

The vulnerability stems from incorrect implementation of LDAP user import functionality in the Portal Security module. According to the National Vulnerability Database, this vulnerability has been assigned a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability allows remote attackers to prevent legitimate users from authenticating to the system. This is achieved by attempting to sign in as a user that exists in LDAP, effectively creating a denial of service condition for legitimate LDAP users (CVE).

Mitigation and workarounds

For Liferay Portal, version 7.3.0 provides a fix for this vulnerability. For version 7.2.1, a source patch is available. Users of Liferay Portal 7.1 and earlier versions are advised to upgrade to Liferay Portal 7.3 as no direct fixes are available for these versions (Liferay Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • org.apache.tika:tika-parser-pdf-module
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management