CVE-2021-29441:
Authentication Bypass
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.99887%
CWE
Published
4/27/2021
Updated
2/1/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.alibaba.nacos:nacos-common | maven | < 1.4.1 | 1.4.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from AuthFilter
's handling of the User-Agent
header in its doFilter
method. When authConfigs.isEnableUserAgentAuthWhite()
is true (default), any request with 'Nacos-Server' User-Agent
bypasses authentication. This is explicitly shown in the code snippet from the GitHub issue where the filter skips security checks for these requests. The function
appears in the call stack when processing malicious requests with spoofed headers, making it the primary runtime indicator.