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).

Exploitability

The vulnerability can be exploited remotely by attackers without requiring any privileges or user interaction. The attack complexity is considered low, making it relatively straightforward to exploit (NVD).

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-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-61798HIGH8.1
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-ohttp-hpke-classes-boringssl
NoYesAug 20, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-61799MEDIUM5.3
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026

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