{"id":"CVE-2021-29442","published":"2021-04-27T20:20:13Z","modified":"2024-08-03T22:02:51Z","title":"Authentication bypass","vendor":"alibaba","product":"nacos","tier":"core","eol":null,"affectedVersions":[{"vendor":"alibaba","product":"nacos","versions":["< 1.4.1"]}],"description":{"text":"Nacos is a platform designed for dynamic service discovery and configuration and service management. In Nacos before version 1.4.1, the ConfigOpsController lets the user perform management operations like querying the database or even wiping it out. While the /data/remove endpoint is properly protected with the @Secured annotation, the /derby endpoint is not protected and can be openly accessed by unauthenticated users. These endpoints are only valid when using embedded storage (derby DB) so this issue should not affect those installations using external storage (e.g. mysql)","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is an authentication bypass in the ConfigOpsController component of Alibaba's Nacos platform, where the /derby endpoint lacks the authentication protection that the /data/remove endpoint has. An attacker with network access can reach the unprotected /derby endpoint without any credentials or user interaction and query the database, and this applies only to installations using embedded Derby storage rather than external databases such as MySQL.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:18:22Z"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.64205,"percentile":0.99431,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-11-19","exploitedFirstSeen":"2023-11-19","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-29442","date":"2023-11-19"},{"url":"https://blog.talosintelligence.com/uat-10147-chinese-speaking-adversary-integrates-agentic-ai-into-post-compromise-operations/","date":"2026-08-20"},{"url":"https://www.recordedfuture.com/blog/august-2026-cve-landscape","date":"2026-09-08"}],"evidenceTotal":3,"provenance":"source"},"exploited":true,"otx":{"pulseCount":5,"pulses":[{"name":"Chinese-speaking adversary integrates agentic AI into post-compromise operations","url":"https://otx.alienvault.com/pulse/6a8d18b871758987646a2607","created":"2026-08-25"},{"name":"UAT-10147 Uses AI to Scale Server Attacks, Deploys SPECTRE With EDR Bypass and Linux Rootkit","url":"https://otx.alienvault.com/pulse/6a8c073a62ba2c96744372ac","created":"2026-08-24"},{"name":"Chinese-speaking adversary integrates agentic AI into post-compromise operations","url":"https://otx.alienvault.com/pulse/6a87f2895768d31406095edf","created":"2026-08-21"},{"name":"UAT-10147: Chinese-speaking adversary integrates agentic AI into post-compromise operations","url":"https://otx.alienvault.com/pulse/6a86f9bd83bc577f33ab760c","created":"2026-08-20"},{"name":"Chinese-speaking adversary integrates agentic AI into post-compromise operations","url":"https://otx.alienvault.com/pulse/6a86e8edcfc7cbd751fb1b3d","created":"2026-08-20"}],"provenance":"machine"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/alibaba/nacos/issues/4463","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-36hp-jr8h-556f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/alibaba/nacos/pull/4517","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"com.alibaba.nacos:nacos-common","vulnerableRanges":["<1.4.1"],"patched":["1.4.1"],"from":["GHSA-xv5h-v7jh-p2qh"],"provenance":"source"}],"advisories":[{"id":"GHSA-xv5h-v7jh-p2qh","url":"https://github.com/advisories/GHSA-xv5h-v7jh-p2qh","severity":"HIGH","ecosystem":"Maven","package":"com.alibaba.nacos:nacos-common","vulnerableRanges":["<1.4.1"],"patched":["1.4.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-0888","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0888","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2024-07-31","earliestUrl":"https://github.com/VictorShem/QVD-2024-26473","repos":[{"name":"VictorShem/QVD-2024-26473","url":"https://github.com/VictorShem/QVD-2024-26473","stars":3,"created":"2024-07-31"},{"name":"nanaao/cve-2021-29442-Nacos-Derby-rce-exp","url":"https://github.com/nanaao/cve-2021-29442-Nacos-Derby-rce-exp","stars":0,"created":"2024-11-25"}]},"nuclei":[{"id":"CVE-2021-29442","name":"Nacos <1.4.1 - Authentication Bypass","severity":"high","path":"http/cves/2021/CVE-2021-29442.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-29442.yaml"}],"first":{"date":"2024-07-31","source":"PoC-in-GitHub","url":"https://github.com/VictorShem/QVD-2024-26473"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-04-27","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-29442","provenance":"source"},{"date":"2023-11-19","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-29442","provenance":"source"},{"date":"2024-07-31","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/VictorShem/QVD-2024-26473","provenance":"source"}],"speed":{"daysToPublicExploit":1191,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":67.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1102 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.89,"detail":"percentile 0.9943"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.77,"detail":"5 pulses"},{"name":"CVSS severity","points":6.02,"detail":"base score 8.6"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-alibaba-nacos-cve-2021-29441","parents":[{"from":"CVE-2021-29441","to":"CVE-2021-29442","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-36hp-jr8h-556f","via":"reference","url":"https://github.com/advisories/GHSA-36hp-jr8h-556f"},{"kind":"osv-related","provenance":"source","id":"GHSA-xv5h-v7jh-p2qh","via":"reference","url":"https://github.com/advisories/GHSA-36hp-jr8h-556f"}]}],"packageHistory":[{"cve":"CVE-2020-19676","published":"2020-09-30","fixed":"1.2.0","kev":false,"link":{"from":"CVE-2020-19676","to":"CVE-2021-29442","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.alibaba.nacos:nacos-common","fromFixed":"1.2.0","toFixed":"1.4.1","daysApart":209}]}},{"cve":"CVE-2021-29441","published":"2021-04-27","fixed":"1.4.1","kev":false},{"cve":"CVE-2021-29442","published":"2021-04-27","fixed":"1.4.1","kev":false},{"cve":"CVE-2021-44667","published":"2022-03-11","fixed":"2.1.0-BETA","kev":false}],"package":"Maven:com.alibaba.nacos:nacos-common"}}