cve-2021-29442

HIGH CVSS 8.6 opencve
Description

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)

Timeline
Published
2021-04-27 21:15 UTC
Last Modified
2026-06-17
CVSS Details

CVSS details not available.

Affected Products

No product information available.

Weaknesses (CWE)
CVSS metrics
Version Base Severity Vector Exploitability Impact Source
3.1 8.6 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N mitre
3.1 8.6 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N nvd
3.1 8.6 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N opencve
References

No references available.

Linked Vulnerabilities

No linked vulnerabilities found.

{
  "advisories": [
    {
      "id": "GHSA-xv5h-v7jh-p2qh",
      "source": "ghsa",
      "title": "Authentication bypass for specific endpoint",
      "url": "https://github.com/advisories/GHSA-xv5h-v7jh-p2qh"
    }
  ],
  "cve": "CVE-2021-29442",
  "epss": {
    "score": 0.65717
  },
  "mitre": {
    "cpes": [],
    "created": "2021-04-27T20:20:13+00:00",
    "description": "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)",
    "metrics": {
      "cvssV2_0": {},
      "cvssV3_0": {},
      "cvssV3_1": {
        "score": 8.6,
        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
      },
      "cvssV4_0": {}
    },
    "mitre_repo_path": "cves/2021/29xxx/CVE-2021-29442.json",
    "references": [
      "https://github.com/advisories/GHSA-36hp-jr8h-556f",
      "https://github.com/alibaba/nacos/issues/4463",
      "https://github.com/alibaba/nacos/pull/4517"
    ],
    "title": "Authentication bypass",
    "updated": "2024-08-03T22:02:51.966000+00:00",
    "vendors": [],
    "weaknesses": [
      "CWE-306"
    ]
  },
  "nvd": {
    "cpes": [
      "cpe:2.3:a:alibaba:nacos:*:*:*:*:*:*:*:*"
    ],
    "created": "2021-04-27T21:15:08.030000+00:00",
    "description": "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)",
    "metrics": {
      "cvssV2_0": {
        "score": 5.0,
        "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"
      },
      "cvssV3_0": {},
      "cvssV3_1": {
        "score": 8.6,
        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
      },
      "cvssV4_0": {}
    },
    "nvd_repo_path": "2021/CVE-2021-29442.json",
    "references": [
      "https://github.com/advisories/GHSA-36hp-jr8h-556f",
      "https://github.com/alibaba/nacos/issues/4463",
      "https://github.com/alibaba/nacos/pull/4517"
    ],
    "title": null,
    "updated": "2026-06-17T03:47:38.993000+00:00",
    "vendors": [
      "alibaba",
      "alibaba$PRODUCT$nacos"
    ],
    "weaknesses": [
      "CWE-306"
    ]
  },
  "opencve": {
    "changes": [],
    "cpes": {
      "data": [
        "cpe:2.3:a:alibaba:nacos:*:*:*:*:*:*:*:*"
      ],
      "providers": [
        "nvd"
      ]
    },
    "created": {
      "data": "2021-04-27T20:20:13+00:00",
      "provider": "mitre"
    },
    "description": {
      "data": "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)",
      "provider": "mitre"
    },
    "metrics": {
      "cvssV2_0": {
        "data": {
          "score": 5.0,
          "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"
        },
        "provider": "nvd"
      },
      "cvssV3_0": {
        "data": {},
        "provider": null
      },
      "cvssV3_1": {
        "data": {
          "score": 8.6,
          "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
        },
        "provider": "mitre"
      },
      "cvssV4_0": {
        "data": {},
        "provider": null
      },
      "epss": {
        "data": {
          "score": 0.65717
        },
        "provider": "first"
      },
      "kev": {
        "data": {},
        "provider": null
      },
      "ssvc": {
        "data": {},
        "provider": null
      },
      "threat_severity": {
        "data": null,
        "provider": null
      }
    },
    "references": {
      "data": [
        "https://github.com/advisories/GHSA-36hp-jr8h-556f",
        "https://github.com/alibaba/nacos/issues/4463",
        "https://github.com/alibaba/nacos/pull/4517"
      ],
      "providers": [
        "mitre",
        "nvd"
      ]
    },
    "title": {
      "data": "Authentication bypass",
      "provider": "mitre"
    },
    "updated": {
      "data": "2024-11-21T06:01:06.423000+00:00",
      "provider": "nvd"
    },
    "vendors": {
      "data": [
        "alibaba",
        "alibaba$PRODUCT$nacos"
      ],
      "providers": [
        "nvd"
      ]
    },
    "weaknesses": {
      "data": [
        "CWE-306"
      ],
      "providers": [
        "mitre",
        "nvd"
      ]
    }
  }
}
Enrichment data
View JSON API Download JSON