Skip to main content
Menu
Advisories

ExecutorAuthenticationProvider with custom executor runs on event loop (DoS)

GHSA-295C-R6R5-PVQCPublished Updated GitHub

Description

An unauthenticated remote client can stall every request to a Micronaut application, anonymous routes included, by sending junk Basic credentials or junk POST /login requests. This applies when the application's blocking authentication provider implements ExecutorAuthenticationProvider and names any executor other than blocking or io. Such a provider's authenticate() runs on the Netty event loop thread instead of the executor it names, so each credential check holds an event loop thread for its full duration.

Affected and patched versions

The following ranges cover stable releases.

Release lineAffected versionsFirst patched releaseFix commit
4.x>= 4.5.0, < 4.18.34.18.32f7cee0c85
5.0.x–5.4.x>= 5.0.0, < 5.4.35.4.3cdd25cc093
5.5.x>= 5.5.0, < 5.5.35.5.3e6b76da4c3

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

The lower bound is the earliest stable release the finding traces the behavior to.

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:L. 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-YPBUY673.

Affected versions

References

GitHub · micronaut-projects/micronaut-security