What’s Vulnerable › Vulnerabilities
CVE-2023-40171: Dispatch writes JWT tokens in error message
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-08-17 · updated 2026-06-17
- Weakness: CWE-209
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.
Affected products
- Netflix Dispatch: before 20230817 — fixed in 20230817
How to fix
Upgrade to a fixed version: Netflix Dispatch 20230817. Check the vendor advisory for mitigations.
References
- https://github.com/Netflix/dispatch/commit/b1942a4319f0de820d86b84a58ebc85398b97c70
- https://github.com/Netflix/dispatch/pull/3695
- https://github.com/Netflix/dispatch/releases/tag/latest
- https://github.com/Netflix/dispatch/security/advisories/GHSA-fv3x-67q3-6pg7
- https://github.com/Netflix/dispatch/commit/b1942a4319f0de820d86b84a58ebc85398b97c70
- https://github.com/Netflix/dispatch/pull/3695
- https://github.com/Netflix/dispatch/releases/tag/latest
- https://github.com/Netflix/dispatch/security/advisories/GHSA-fv3x-67q3-6pg7
Get alerted when CVE-2023-40171 or the next vulnerability affects your stack