CVE-2021-29442

Missing Authentication for Critical Function in maven/com.alibaba.nacos/nacos-api

Identifiers

CVE-2021-29442, GHSA-36hp-jr8h-556f

Package Slug

maven/com.alibaba.nacos/nacos-api

Vulnerability

Missing Authentication for Critical Function

Description

Nacos is a platform designed for dynamic service discovery and configuration and service management. In Nacos, 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).

Affected Versions

All versions before 1.4.1

Solution

Upgrade to version 1.4.1 or above.

Last Modified

2021-05-10

source