CVE-2024-23656 Dex 2.37.0 is discarding TLSconfig and always serves deprecated TLS 1.0/1.1 and insecure ciphers
HighCVSS 7.5
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dexidp github.com/dexidp/dex(Go) | >= 2.37.0, < 2.38.0 | 2.38.0 |
| dexidp github.com/dexidp/dex(Go) | = 2.37.0 | No fix listed |
| dexidp github.com/dexidp/dex(Go) | < 0.0.0-20240125115555-5bbdb4420254 | 0.0.0-20240125115555-5bbdb4420254 |
| dexidp github.com/dexidp/dex(Go) | All versions | No fix listed |
| dexidp github.com/dexidp/dex | = = 2.37.0 | No fix listed |
| linuxfoundation dex | = 2.37.0 | No fix listed |
References
- https://github.com/dexidp/dex/security/advisories/GHSA-gr79-9v6v-gc9r exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/dexidp/dex/issues/2848 issue-tracking
- https://github.com/dexidp/dex/pull/2964 issue-tracking patch
- https://github.com/dexidp/dex/commit/5bbdb4420254ba73b9c4df4775fe7bdacf233b17 patch
- github.com product
- https://github.com/dexidp/dex/blob/70d7a2c7c1bb2646b1a540e49616cbc39622fb83/cmd/dex/serve.go#L425 product
- github.com