{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-29441 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2021-29441 is a high-severity authentication bypass vulnerability in alibaba nacos, published on 27 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-29441 and fix it if it is affected.\n\nWhat it is: CVE-2021-29441 is a high-severity authentication bypass vulnerability in alibaba nacos, published on 27 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-29441 exists.\n\nAffected product: alibaba nacos. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-29441/ (Markdown: https://insights.sbomify.com/CVE-2021-29441/index.md)","id":"CVE-2021-29441","markdown":"https://insights.sbomify.com/CVE-2021-29441/index.md","name":"CVE-2021-29441","record":{"aliases":[],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Nacos service discovery","requires_auth":"none","summary":"Attackers can bypass authentication by spoofing the user-agent header, allowing unauthorized administrative access to the Nacos server.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nacos","vendor":"alibaba"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2021-10-05","github_poc":4,"max_poc_stars":2,"metasploit":0,"nuclei":1,"refs":[{"date":"2022-03-15T08:53:59Z","kind":"github_poc","ref":"https://github.com/bysinks/CVE-2021-29441","stars":2,"title":null},{"date":"2021-10-05T07:59:05Z","kind":"github_poc","ref":"https://github.com/hh-hunter/nacos-cve-2021-29441","stars":0,"title":null},{"date":"2024-12-04T06:55:24Z","kind":"github_poc","ref":"https://github.com/azhao1981/CVE-2021-29441","stars":0,"title":null},{"date":"2026-10-08T20:46:24Z","kind":"github_poc","ref":"https://github.com/CyberCTF/vulhub-nacos-cve-2021-29441","stars":0,"title":"Vulhub nacos/CVE-2021-29441: Nacos User-Agent Authentication Bypass (CVE-2021-29441), run with Isoloom"},{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-29441.yaml","stars":null,"title":"Nacos \u003c1.4.1 - Authentication Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"Authentication bypass","id":"CVE-2021-29441","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Authentication bypass","id":"CVE-2021-29442"},"packages":[],"prev":{"headline":"Twig allowing dangerous PHP functions by default","id":"CVE-2021-29440"},"products":["nacos"],"published":"2021-04-27","related":[{"cvss_score":8.8,"headline":"Use of Hard-coded Credentials in Nacos","id":"CVE-2021-43116","kev_date_added":null,"published":"2022-07-05"},{"cvss_score":8.6,"headline":"Authentication bypass","id":"CVE-2021-29442","kev_date_added":null,"published":"2021-04-27"},{"cvss_score":6.1,"headline":"Cross-site Scripting in Nacos","id":"CVE-2021-44667","kev_date_added":null,"published":"2022-03-11"},{"cvss_score":5.3,"headline":"Incorrect Access Control in Nacos","id":"CVE-2020-19676","kev_date_added":null,"published":"2020-09-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["alibaba"]},"summary":"Attackers can bypass authentication by spoofing the user-agent header, allowing unauthorized administrative access to the Nacos server.","url":"https://insights.sbomify.com/CVE-2021-29441/"}