CVE-2024-23656
Dex discarding TLSconfig and always serves deprecated TLS 1.0/1.1 and insecure ciphers
Reported by github_m · Published January 25, 2024
github.com/dexidp/dex is fixed in 2.38.0, 0.0.0-20240125115555-5bbdb4420254 and 0.0.0-20240125115555 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/dexidp/dex | Go Modules | 2.38.0, 0.0.0-20240125115555-5bbdb4420254, 0.0.0-20240125115555 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| dexidp | dex | = 2.37.0 |
| chainguard | dex | 0 |
| wolfi | dex | 0 |
| github.com | dexidp/dex | 2.37.0, 2.37.0, 0 |
| dexidp | dex | 2.37.0 |
Timeline
- Jan 25, 2024 CVE Published
- Jan 25, 2024 PoC Published (2 in total, the first dated here)
- Jan 31, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
- May 27, 2025 CVE Updated
- Jan 17, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-23656
vulnetix vdb fixes CVE-2024-23656
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23656/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/dexidp/dex/security/advisories/GHSA-gr79-9v6v-gc9r x_refsource_CONFIRM
- https://github.com/dexidp/dex/issues/2848 x_refsource_MISC
- https://github.com/dexidp/dex/pull/2964 x_refsource_MISC
- https://github.com/dexidp/dex/commit/5bbdb4420254ba73b9c4df4775fe7bdacf233b17 x_refsource_MISC
- https://github.com/dexidp/dex/blob/70d7a2c7c1bb2646b1a540e49616cbc39622fb83/cmd/dex/serve.go#L425 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-23656 advisory
- https://github.com/advisories/GHSA-gr79-9v6v-gc9r advisory
- https://github.com/dexidp/dex url