Vulnerability · Published Jul 21, 2023 · Assigned by GitHub_M
CVE-2023-37918API token authentication bypass in HTTP endpoints in Dapr
Medium 6.8
In plain English
A medium-severity improper authentication in dapr from dapr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/dapr/dapr | 1.11.2 | GHSA-59m6-82qm-vqgj |
| Go | github.com/dapr/dapr | 1.10.9 | GHSA-59m6-82qm-vqgj |
| Go | github.com/dapr/dapr | 1.10.9, 1.11.2 | GO-2023-1955 |
Affected products (as reported)
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/dapr/dapr/security/advisories/GHSA-59m6-82qm-vqgj x_refsource_CONFIRM
- https://github.com/dapr/dapr/commit/83ca1abb11ffe34211db55dcd36d96b94252827a x_refsource_MISC
- https://docs.dapr.io/operations/security/api-token/ x_refsource_MISC