Appsecure logo

CVE-2021-29442: High Vulnerability in Alibaba Nacos

A high-severity vulnerability in Alibaba Nacos allows unauthenticated access to sensitive endpoints in versions prior to 1.4.1. Immediate patching is required to mitigate risks associated with this flaw.

HIGHPublic ExploitCVSS 8.6 · Published April 27, 2021

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2021-29442 is a high-severity vulnerability affecting Alibaba's Nacos platform, which is designed for dynamic service discovery, configuration, and service management. The vulnerability arises from inadequate security controls on certain endpoints, allowing unauthorized users to perform sensitive operations. Specifically, the ConfigOpsController in versions prior to 1.4.1 permits management actions such as querying and even deleting the database. While the /data/remove endpoint is secured, the /derby endpoint lacks such protection, exposing it to unauthenticated access.

The CVSS score of 8.6 indicates a high severity level, emphasizing the potential impact on organizations that utilize this service. This vulnerability primarily affects installations using embedded storage (Derby DB), thus installations with external storage solutions like MySQL remain unaffected. Organizations using Nacos should prioritize immediate patching to mitigate risks associated with this vulnerability.

As of the latest updates, the vulnerability has not been included in the Known Exploited Vulnerabilities (KEV) catalog. However, there are confirmed proof-of-concept (PoC) exploits available on GitHub, indicating that the risk of exploitation is tangible. Organizations must take this threat seriously and implement necessary security measures.

Organizations should prioritize patching immediately to secure their systems against this vulnerability. The available patch in version 1.4.1 rectifies these security flaws, ensuring that sensitive operations are not exposed to unauthorized users.

Vulnerability Details

The official description of CVE-2021-29442 states that Nacos is a platform for dynamic service discovery and service management. In versions prior to 1.4.1, the ConfigOpsController allows users to perform management operations, including querying and deleting data. The vulnerability is classified under CWE-306, indicating inadequate authentication. The CVSS score is 8.6, denoting a high severity, with a base severity classification of high. The affected products include Nacos by Alibaba.

Technical Analysis

The root cause of this vulnerability stems from insufficient protections on specific API endpoints within Nacos. The attack vector is classified as network-based, allowing remote attackers to access these endpoints without authentication. The complexity of the attack is low, as no special privileges or user interaction is required. Consequently, any unauthenticated user can exploit the flaw.

The vulnerability has a high potential impact on confidentiality, as attackers may access sensitive information within the database. However, integrity and availability impacts are not applicable in this scenario. This highlights the importance of securing the vulnerable endpoints to prevent unauthorized access.

Risk & Impact Analysis

The real-world risk associated with CVE-2021-29442 is significant, particularly for organizations using Nacos with embedded storage. The potential for data exposure and unauthorized management operations poses serious threats to data confidentiality. Organizations need to assess the blast radius of this flaw, which could lead to widespread access to sensitive information.

Given the high CVSS score of 8.6, organizations should treat this vulnerability with urgency. Immediate action is required to patch affected systems to prevent exploitation and mitigate risks. The availability of public exploits further emphasizes the need for swift remediation.

Exploitation Status

Signal

Status

Known Exploit

Yes

Public PoC

Yes

Actively Exploited

No

Ransomware Use

No

Affected Versions

All versions of Nacos prior to 1.4.1 are affected by this vulnerability. Organizations using Nacos should ensure they upgrade to version 1.4.1 or later to mitigate this risk.

Mitigation & Remediation

To remediate this vulnerability, organizations should upgrade to Nacos version 1.4.1 or later, where the issue has been addressed. If upgrading is not immediately possible, consider implementing network controls to limit access to the exposed endpoints. Monitoring for unauthorized access attempts to these endpoints should also be prioritized.

For further assistance in securing your applications, organizations can consider employing penetration testing services to identify and address potential vulnerabilities.

Detection Guidance

Monitoring logs for access to the /derby endpoint can help detect unauthorized access attempts. Organizations should also look for behavioral anomalies that indicate exploitation attempts, such as unexpected database queries or deletions.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2021-29442 highlights the critical importance of securing API endpoints against unauthorized access. This vulnerability exemplifies common security oversights in application design, particularly in service-oriented architectures. Security teams must remain vigilant in monitoring for similar vulnerabilities across their environments.

To enhance overall security posture, organizations can benefit from adopting a comprehensive vulnerability management program that includes regular assessments and proactive measures.

Additionally, implementing a robust penetration testing methodology can help identify and remediate weaknesses before they can be exploited.

Overall, CVE-2021-29442 serves as a reminder of the need for continuous vigilance and remediation in the face of evolving threats.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.