CVE-2021-29442
Java vulnerability analysis and mitigation

Overview

CVE-2021-29442 affects Nacos, a platform designed for dynamic service discovery, configuration, and service management. The vulnerability was discovered in December 2020 and publicly disclosed on April 27, 2021. When using embedded storage (Derby DB), an unauthenticated attacker can execute arbitrary SQL queries through the /derby endpoint, potentially exposing sensitive information (GitHub Lab, GitHub Issue).

Technical details

The vulnerability exists in the ConfigOpsController's /derby endpoint, which allows unauthenticated users to perform database operations. The code only validates that the SQL query starts with 'select' but does not implement proper authentication checks. This allows attackers to execute arbitrary SELECT queries against the Derby database, potentially accessing sensitive configuration data and user information (GitHub Lab).

Impact

The vulnerability allows unauthenticated attackers to access sensitive information stored in the Derby database, including user credentials, permissions, roles, tenant information, and configuration data. This could lead to unauthorized access to administrative functions and sensitive system configurations (GitHub Issue).

Mitigation and workarounds

The vulnerability was fixed in Nacos version 1.4.1. Users should upgrade to this version or later to address the security issue. The fix includes proper authentication checks for the Derby endpoint (GitHub Lab).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • trino
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management