CVE-2024-23656 Dex 2.37.0 is discarding TLSconfig and always serves deprecated TLS 1.0/1.1 and insecure ciphers
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2024-23656?
CVE-2024-23656 is a high-severity vulnerability in dexidp dex, published on 25 Jan 2024.
Official description
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.
Which versions are affected by CVE-2024-23656?
5 open source packages ship an affected version, including github.com/dexidp/dex. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/dexidp/dex Go | All versions | None |
github.com/dexidp/dex Go | All versions | 0.0.0-20240125115555-5bbdb4420254 |
github.com/dexidp/dex Go | All versions | 0.0.0-20240125115555-5bbdb4420254 |
github.com/dexidp/dex Go | From 2.37.0 | 2.38.0 |
github.com/dexidp/dex Go | From 2.37.0 | 2.38.0 |
Products include Linuxfoundation Dex.
How do I fix CVE-2024-23656?
Upgrade github.com/dexidp/dex to a fixed version for your release line: 0.0.0-20240125115555-5bbdb4420254 or 2.38.0.
Is CVE-2024-23656 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23656 exists.
Other vulnerabilities in dexidp dex
Sources
Also known as GHSA-gr79-9v6v-gc9r, GO-2024-2476.