cve/2024/CVE-2024-23656.md
2025-09-29 16:08:36 +00:00

20 lines
1.2 KiB
Markdown

### [CVE-2024-23656](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-23656)
![](https://img.shields.io/static/v1?label=Product&message=dex&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3D%202.37.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-326%3A%20Inadequate%20Encryption%20Strength&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-757%3A%20Selection%20of%20Less-Secure%20Algorithm%20During%20Negotiation%20('Algorithm%20Downgrade')&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/dexidp/dex/pull/2964
- https://github.com/dexidp/dex/security/advisories/GHSA-gr79-9v6v-gc9r
#### Github
- https://github.com/PS-RANASINGHE/Crypto-Ex---7