CVE-2024-23656Linuxfoundation Dex
High 7.5 No auth needed
Follow: this CVE · Linuxfoundation · Linuxfoundation Dex We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 42
- Auth required
- No
- Published
- Jan 25, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Dex.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/dexidp/dex |
≥ 2.37.0 < 2.38.0 |
2.38.0 |
go get github.com/dexidp/dex@v2.38.0 |
| Go | github.com/dexidp/dex |
< 0.0.0-20240125115555-5bbdb4420254 |
0.0.0-20240125115555-5bbdb4420254 |
go get github.com/dexidp/dex@v0.0.0-20240125115555-5bbdb4420254 |
| Go | github.com/dexidp/dex |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-gr79-9v6v-gc9r, GO-2024-2476). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | dex | 2.37.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- github.com Issue Tracking
- github.com Issue Tracking Patch
- github.com Exploit