{"answers":{"affected":"3 open source packages ship an affected version, including github.com/dapr/dapr.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-35223 exists.","fix":"Upgrade github.com/dapr/dapr to 1.13.3 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-35223 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-35223 exists.\n\nAffected packages and fixed versions:\n- github.com/dapr/dapr (Go): affected from 1.13.0; fixed in 1.13.3\n- github.com/dapr/dapr (Go): affected from 1.13.0; fixed in 1.13.3\n- github.com/dapr/dapr (Go): affected from 1.13.0; fixed in 1.13.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-35223/ (Markdown: https://insights.sbomify.com/CVE-2024-35223/index.md)","id":"CVE-2024-35223","markdown":"https://insights.sbomify.com/CVE-2024-35223/index.md","name":"CVE-2024-35223","record":{"aliases":["GHSA-284c-x8m7-9w5h","GO-2024-2879"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Dapr distributed runtime","requires_auth":"none","summary":"Dapr leaks the invoker's app token to the invoked app during gRPC proxying, allowing attackers to compromise authentication mechanisms.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Dapr API Token Exposure","id":"CVE-2024-35223","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":3,"n_references":5,"next":{"headline":"Stored Cross-Site Scripting (XSS) in OpenProject","id":"CVE-2024-35224"},"packages":[{"ecosystem":"Go","fixed":["1.13.3"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/dapr/dapr","purl":null,"source":"GHSA-284c-x8m7-9w5h"},{"ecosystem":"Go","fixed":["1.13.3"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/dapr/dapr","purl":"pkg:golang/github.com/dapr/dapr","source":"GHSA-284c-x8m7-9w5h"},{"ecosystem":"Go","fixed":["1.13.3"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/dapr/dapr","purl":"pkg:golang/github.com/dapr/dapr","source":"GO-2024-2879"}],"prev":{"headline":"iFrames Bypass Origin Checks for Tauri API Access Control","id":"CVE-2024-35222"},"products":["dapr"],"published":"2024-05-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["dapr"]},"summary":"Dapr leaks the invoker's app token to the invoked app during gRPC proxying, allowing attackers to compromise authentication mechanisms.","url":"https://insights.sbomify.com/CVE-2024-35223/"}