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.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)1.4%top 27.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/dapr/dapr1.11.2GHSA-59m6-82qm-vqgj
Gogithub.com/dapr/dapr1.10.9GHSA-59m6-82qm-vqgj
Gogithub.com/dapr/dapr1.10.9, 1.11.2GO-2023-1955

Affected products (as reported)

VendorProductVersions
dapr dapr < 1.11.2

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

References