What is CVE-2021-29442?
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)
The record classifies CVE-2021-29442 under weakness class CWE-306. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 2032 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 8.6 — HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - EPSS (FIRST)
- 65.7% probability of exploitation in the next 30 days, higher than 99.2% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 10/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2021-04-27
Is CVE-2021-29442 being exploited?
Weaponised exploit code for CVE-2021-29442 is publicly available. 3 public proof-of-concept repositories are tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (http/cves/2021/CVE-2021-29442.yaml). It currently carries a trending score of 40 in the Threadlinqs vulnerability feed.
- VictorShem/QVD-2024-26473 (github)
- nanaao/cve-2021-29442-Nacos-Derby-rce-exp (github)
- trickest/cve (trickest)
Affected products and versions
- alibaba: nacos
How to fix CVE-2021-29442
No vendor patch reference has been recorded for CVE-2021-29442 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2021-29442
1 tracked threat in the Threadlinqs corpus references CVE-2021-29442, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, FIRST EPSS, public proof-of-concept repositories, ProjectDiscovery Nuclei.