Vulnerability · Published Jan 25, 2024 · Assigned by GitHub_M
CVE-2024-23656Dex 2.37.0 is discarding TLSconfig and always serves deprecated TLS 1.0/1.1 and insecure ciphers
High 7.5
In plain English
A high-severity security flaw in dex from dexidp. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/dexidp/dex | 2.38.0 | GHSA-gr79-9v6v-gc9r |
| Go | github.com/dexidp/dex | 0.0.0-20240125115555-5bbdb4420254 | GHSA-gr79-9v6v-gc9r |
| Go | github.com/dexidp/dex | no fix listed | GO-2024-2476 |
Affected products (as reported)
Weakness: CWE-326, CWE-757 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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