CVE-2021-29442Alibaba Nacos
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Alibaba · Alibaba Nacos We alert you by email or Slack (account required).
- Priority
- 66
- CVSS 3.1
- 7.5
- EPSS
- 64.2% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Apr 27, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-306
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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)
What to do
- Apply the vendor's security update for Nacos.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.alibaba.nacos:nacos-common |
< 1.4.1 |
1.4.1 |
— |
| Maven | com.alibaba.nacos:nacos-common |
< 1.4.1 |
1.4.1 |
— |
Per OSV / GitHub Advisories (GHSA-36hp-jr8h-556f, GHSA-xv5h-v7jh-p2qh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| alibaba | nacos | < 1.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory