Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.alibaba.nacos/nacos-common
  4. ›
  5. CVE-2021-29441

CVE-2021-29441: Authentication Bypass by Spoofing

April 27, 2021 (updated May 10, 2021)

Nacos is a platform designed for dynamic service discovery and configuration and service management. In Nacos before version 1.4.1, when configured to use authentication (-Dnacos.core.auth.enabled=true) Nacos uses the AuthFilter servlet filter to enforce authentication. This filter has a backdoor that enables Nacos servers to bypass this filter and therefore skip authentication checks. This mechanism relies on the user-agent HTTP header so it can be easily spoofed. This issue may allow any user to carry out any administrative tasks on the Nacos server.

References

  • github.com/advisories/GHSA-36hp-jr8h-556f
  • github.com/alibaba/nacos/issues/4701
  • github.com/alibaba/nacos/pull/4703
  • nvd.nist.gov/vuln/detail/CVE-2021-29441

Code Behaviors & Features

Detect and mitigate CVE-2021-29441 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.1

Fixed versions

  • 1.4.1

Solution

Upgrade to version 1.4.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing

Source file

maven/com.alibaba.nacos/nacos-common/CVE-2021-29441.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.