{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-40171 exists.","fix":"No fix has been published for CVE-2023-40171 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-40171 is a critical vulnerability in Netflix dispatch, published on 17 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40171 and fix it if it is affected.\n\nWhat it is: CVE-2023-40171 is a critical vulnerability in Netflix dispatch, published on 17 Aug 2023. 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-2023-40171 exists.\n\nAffected product: Netflix dispatch. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2023-40171/ (Markdown: https://insights.sbomify.com/CVE-2023-40171/index.md)","id":"CVE-2023-40171","markdown":"https://insights.sbomify.com/CVE-2023-40171/index.md","name":"CVE-2023-40171","record":{"aliases":["GHSA-fv3x-67q3-6pg7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Dispatch incident management","requires_auth":"none","summary":"Attackers can obtain the JWT secret from error messages to forge tokens and take over accounts in Dispatch instances using the Basic Authentication plugin.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dispatch","vendor":"netflix"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"description":"Dispatch is an open source security incident management tool. The server response includes the JWT Secret Key used for signing JWT tokens in error message when the `Dispatch Plugin - Basic Authentication Provider` plugin encounters an error when attempting to decode a JWT token. Any Dispatch users who own their instance and rely on the `Dispatch Plugin - Basic Authentication Provider` plugin for authentication may be impacted, allowing for any account to be taken over within their own instance. This could be done by using the secret to sign attacker crafted JWTs. If you think that you may be impacted, we strongly suggest you to rotate the secret stored in the `DISPATCH_JWT_SECRET` envvar in the `.env` file. This issue has been addressed in commit `b1942a4319` which has been included in the `20230817` release. users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Dispatch writes JWT tokens in error message","id":"CVE-2023-40171","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"Cross-Site Request Forgery (CSRF) in fobybus/social-media-skeleton","id":"CVE-2023-40172"},"packages":[],"prev":{"headline":"cross-site inclusion (XSSI) of files in jupyter-server","id":"CVE-2023-40170"},"products":["dispatch"],"published":"2023-08-17","related":[{"cvss_score":6.5,"headline":"Missing authorization in Netflix Dispatch","id":"CVE-2020-9300","kev_date_added":null,"published":"2020-11-09"},{"cvss_score":5.4,"headline":"Cross-site scripting in Netflix Dispatch","id":"CVE-2020-9299","kev_date_added":null,"published":"2020-11-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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-10-07","vendors":["Netflix"]},"summary":"Attackers can obtain the JWT secret from error messages to forge tokens and take over accounts in Dispatch instances using the Basic Authentication plugin.","url":"https://insights.sbomify.com/CVE-2023-40171/"}