CVE-2024-23656
HIGH 7.5CVSS 3.1Dex discarding TLSconfig and always serves deprecated TLS 1.0/1.1 and insecure ciphers
Dex is an identity service that uses OpenID Connect to drive authentication for other apps. Dex 2.37.0 serves HTTPS with insecure TLS 1.0 and TLS 1.1. cmd/dex/serve.go line 425 seemingly sets TLS 1.2 as minimum version, but the whole tlsConfig is ignored after TLS cert reloader was introduced in v2.37.0. Configured cipher suites are not respected either. This issue is fixed in Dex 2.38.0.
- Published
- 25 Jan 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-326
- Also known as
- GHSA-gr79-9v6v-gc9rGO-2024-2476
- Sources
- NVDJSONOSV GHSA-gr79-9v6v-gc9rJSONOSV GO-2024-2476JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | dexcpe:2.3:a:linuxfoundation:dex:2.37.0:*:*:*:*:*:*:* |
= 2.37.0 | |
| OSV | Go | github.com/dexidp/dex | >= 2.37.0, < 2.38.0 | 2.38.0 |
| OSV | Go | github.com/dexidp/dex | < 0.0.0-20240125115555-5bbdb4420254 | 0.0.0-20240125115555-5bbdb4420254 |
| OSV | Go | github.com/dexidp/dex | all versions |
References
- https://github.com/dexidp/dex/blob/70d7a2c7c1bb2646b1a540e49616cbc39622fb83/cmd/dex/serve.go#L425 · Product, WEB
- https://github.com/dexidp/dex/commit/5bbdb4420254ba73b9c4df4775fe7bdacf233b17 · Patch, WEB, FIX
- https://github.com/dexidp/dex/issues/2848 · Issue Tracking, WEB, REPORT
- https://github.com/dexidp/dex/pull/2964 · Issue Tracking, Patch, WEB, FIX
- https://github.com/dexidp/dex/security/advisories/GHSA-gr79-9v6v-gc9r · Exploit, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-23656 · ADVISORY
- https://github.com/dexidp/dex · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 25 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Jan 2024)