Skip to main content
Menu
Advisories

Unbounded LDAP connection pool blocks logins after one anonymous burst

GHSA-WWXX-8PQM-6MVGPublished Updated GitHub

Description

An anonymous client can lock all users out of an application that uses micronaut-security-ldap with a plain ldap:// server by sending one burst of a few thousand small requests carrying a bogus Authorization: Basic header. This works only if the burst is wider than the number of connections the directory will serve. The lockout outlasts the attack: users with the right password keep getting 401 until the application restarts or the directory closes idle connections on its own. No account is needed and the rest of the configuration can be left at defaults. This is denial of service only; no login succeeds that should not.

Affected and patched versions

The following ranges cover stable releases.

Release lineAffected versionsFirst patched releaseFix commit
3.11.x and earlier>= 1.1.1, < 3.11.43.11.423128521c0
4.x>= 4.0.0, < 4.18.34.18.3aa53fb1eb6
5.0.x–5.4.x>= 5.0.0, < 5.4.35.4.30dc472f3a2
5.5.x>= 5.5.0, < 5.5.35.5.304417a8b6b

The fix commits are included in the corresponding release tags and absent from the preceding stable releases (3.11.3, 4.18.2, 5.4.2, 5.5.2).

The lower bound is the earliest stable release the finding traces the behavior to. The report does not establish the introduction release; 1.1.1 is a lower-bound estimate.

Suggested severity

Suggested CVSS v3.1 vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. This is an initial estimate based on the finding report and should be reviewed against the final impact and deployment prerequisites.

Source finding: ANT-2026-PRAN454D.

Affected versions

References

GitHub · micronaut-projects/micronaut-security