{"answers":{"affected":"12 open source packages ship an affected version, including Duende.IdentityServer and IdentityServer4.","exploited":"There is no known exploitation of CVE-2024-39694 in the wild and no public exploit code.","fix":"Upgrade Duende.IdentityServer to a fixed version for your release line: 6.0.5, 6.1.8, 6.2.5 or 6.3.10.","what":"CVE-2024-39694 is a medium-severity vulnerability in DuendeSoftware IdentityServer, published on 31 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-39694 and fix it if it is affected.\n\nWhat it is: CVE-2024-39694 is a medium-severity vulnerability in DuendeSoftware IdentityServer, published on 31 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-39694 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Duende.IdentityServer (NuGet): affected from 6.0.0-preview.1; fixed in 6.0.5\n- Duende.IdentityServer (NuGet): affected from 6.0.0-preview.1; fixed in 6.0.5\n- Duende.IdentityServer (NuGet): affected from 6.1.0-preview.1; fixed in 6.1.8\n- Duende.IdentityServer (NuGet): affected from 6.1.0-preview.1; fixed in 6.1.8\n- Duende.IdentityServer (NuGet): affected from 6.2.0-preview.1; fixed in 6.2.5\n- Duende.IdentityServer (NuGet): affected from 6.2.0-preview.1; fixed in 6.2.5\n- Duende.IdentityServer (NuGet): affected from 6.3.0-preview.1; fixed in 6.3.10\n- Duende.IdentityServer (NuGet): affected from 6.3.0-preview.1; fixed in 6.3.10\n- Duende.IdentityServer (NuGet): affected from 7.0.0-preview.1; fixed in 7.0.6\n- Duende.IdentityServer (NuGet): affected from 7.0.0-preview.1; fixed in 7.0.6\n- IdentityServer4 (NuGet): affected all versions up to 4.1.2; no fix listed\n- IdentityServer4 (NuGet): affected all versions up to 4.1.2; no fix listed\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-39694/ (Markdown: https://insights.sbomify.com/CVE-2024-39694/index.md)","id":"CVE-2024-39694","markdown":"https://insights.sbomify.com/CVE-2024-39694/index.md","name":"CVE-2024-39694","record":{"aliases":["GHSA-ff4q-64jc-gx98"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"ASP.NET Core IdentityServer","requires_auth":"none","summary":"Attackers can craft malicious URLs to redirect users to untrusted sites, facilitating phishing attacks against IdentityServer users.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Duende IdentityServer is an OpenID Connect and OAuth 2.x framework for ASP.NET Core. It is possible for an attacker to craft malicious Urls that certain functions in IdentityServer will incorrectly treat as local and trusted. If such a Url is returned as a redirect, some browsers will follow it to a third-party, untrusted site. Note: by itself, this vulnerability does **not** allow an attacker to obtain user credentials, authorization codes, access tokens, refresh tokens, or identity tokens. An attacker could however exploit this vulnerability as part of a phishing attack designed to steal user credentials. This vulnerability is fixed in 7.0.6, 6.3.10, 6.2.5, 6.1.8, and 6.0.5. Duende.IdentityServer 5.1 and earlier and all versions of IdentityServer4 are no longer supported and will not be receiving updates. If upgrading is not possible, use `IUrlHelper.IsLocalUrl` from ASP.NET Core to validate return Urls in user interface code in the IdentityServer host.","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Duende IdentityServer Open Redirect vulnerability","id":"CVE-2024-39694","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"open_redirect","year":"2024"},"n_packages":12,"n_references":6,"next":{"headline":"Exiv2 has an out-of-bounds read in AsfVideo::streamProperties","id":"CVE-2024-39695"},"packages":[{"ecosystem":"NuGet","fixed":["6.0.5"],"introduced":["6.0.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":null,"source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":["6.0.5"],"introduced":["6.0.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":"pkg:nuget/Duende.IdentityServer","source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":["6.1.8"],"introduced":["6.1.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":null,"source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":["6.1.8"],"introduced":["6.1.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":"pkg:nuget/Duende.IdentityServer","source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":["6.2.5"],"introduced":["6.2.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":null,"source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":["6.2.5"],"introduced":["6.2.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":"pkg:nuget/Duende.IdentityServer","source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":["6.3.10"],"introduced":["6.3.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":null,"source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":["6.3.10"],"introduced":["6.3.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":"pkg:nuget/Duende.IdentityServer","source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":["7.0.6"],"introduced":["7.0.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":null,"source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":["7.0.6"],"introduced":["7.0.0-preview.1"],"last_affected":[],"package":"Duende.IdentityServer","purl":"pkg:nuget/Duende.IdentityServer","source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":["4.1.2"],"package":"IdentityServer4","purl":null,"source":"GHSA-ff4q-64jc-gx98"},{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":["4.1.2"],"package":"IdentityServer4","purl":"pkg:nuget/IdentityServer4","source":"GHSA-ff4q-64jc-gx98"}],"prev":{"headline":"Next.js Denial of Service (DoS) condition","id":"CVE-2024-39693"},"products":["IdentityServer"],"published":"2024-07-31","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-07-31","vendors":["DuendeSoftware"]},"summary":"Attackers can craft malicious URLs to redirect users to untrusted sites, facilitating phishing attacks against IdentityServer users.","url":"https://insights.sbomify.com/CVE-2024-39694/"}