CVE-2024-23656 Dex 2.37.0 is discarding TLSconfig and always serves deprecated TLS 1.0/1.1 and insecure ciphers

High 7.5 Published Updated
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.

Weakness: CWE-757, CWE-326

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.

PackageAffectedFixed in
github.com/dexidp/dex GoAll versionsNone
github.com/dexidp/dex GoAll versions0.0.0-20240125115555-5bbdb4420254
github.com/dexidp/dex GoAll versions0.0.0-20240125115555-5bbdb4420254
github.com/dexidp/dex GoFrom 2.37.02.38.0
github.com/dexidp/dex GoFrom 2.37.02.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.

Sources

Also known as GHSA-gr79-9v6v-gc9r, GO-2024-2476.

Is CVE-2024-23656 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free