CVE-2024-35223 Dapr API Token Exposure

Medium 5.3 Published Updated

Dapr leaks the invoker's app token to the invoked app during gRPC proxying, allowing attackers to compromise authentication mechanisms.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-35223?

CVE-2024-35223 is a medium-severity vulnerability in dapr, published on 23 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge. Dapr sends the app token of the invoker app instead of the app token of the invoked app. This causes of a leak of the application token of the invoker app to the invoked app when using Dapr as a gRPC proxy for remote service invocation. This vulnerability impacts Dapr users who use Dapr as a gRPC proxy for remote service invocation as well as the Dapr App API token functionality. An attacker could exploit this vulnerability to gain access to the app token of the invoker app, potentially compromising security and authentication mechanisms. This vulnerability was patched in version 1.13.3.

Weakness: CWE-200

Which versions are affected by CVE-2024-35223?

3 open source packages ship an affected version, including github.com/dapr/dapr.

PackageAffectedFixed in
github.com/dapr/dapr GoFrom 1.13.01.13.3
github.com/dapr/dapr GoFrom 1.13.01.13.3
github.com/dapr/dapr GoFrom 1.13.01.13.3

How do I fix CVE-2024-35223?

Upgrade github.com/dapr/dapr to 1.13.3 or later.

Is CVE-2024-35223 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-35223 exists.

Sources

Also known as GHSA-284c-x8m7-9w5h, GO-2024-2879.

Is CVE-2024-35223 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free