{"schemaVersion":3,"id":"CVE-2024-23656","aliases":["CGA-p55m-q678-gfc4","CGA-xqh3-w2j4-p86v","GHSA-gr79-9v6v-gc9r","GO-2024-2476"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-01-25T19:45:41.237Z","modified":"2025-06-03T18:20:38.271Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00435,"percentile":0.36396,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00435},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00435,"percentile":0.36396}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00435,"percentile":0.36396}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_DEXIDP_DEX","name":"Dex","source":"github","url":"https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-326","name":"Inadequate Encryption Strength","description":"The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/326.html"},{"id":"CWE-757","name":"Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')","description":"A protocol or its implementation supports interaction between multiple actors and allows those actors to negotiate which algorithm should be used as a protection mechanism such as encryption or authentication, but it does not select the strongest algorithm that is available to both parties.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/757.html"}],"affected":[{"vendor":"chainguard","product":"dex","name":"dex","label":"dex","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/dex","purlType":"apk","versions":[{"text":"< 2.38.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.38.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"dex","name":"dex","label":"dex","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/dex","purlType":"apk","versions":[{"text":"< 2.38.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.38.0-r0","eol":null,"hubHref":null},{"vendor":"dexidp","product":"dex","name":"dex","label":"dex","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"= 2.37.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"= 2.37.0","eol":null,"hubHref":"/vendor/dexidp/dex"},{"vendor":"github.com/dexidp","product":"dex","name":"github.com/dexidp/dex","label":"dex","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/dexidp/dex","purlType":"golang","versions":[{"text":"≥ 2.37.0, < 2.38.0","noFixRecorded":false,"fixedIn":null},{"text":"< 0.0.0-20240125115555-5bbdb4420254","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 2.37.0, < 2.38.0 | < 0.0.0-20240125115555-5bbdb4420254 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"linuxfoundation","product":"dex","name":"dex","label":"dex","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.37.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.37.0","eol":null,"hubHref":"/vendor/linuxfoundation/dex"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/dexidp/dex/security/advisories/GHSA-gr79-9v6v-gc9r","label":"github.com/dexidp/dex/security/advisories/GHSA-gr79-9v6v-gc9r","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Exploit"]},{"url":"https://github.com/dexidp/dex/issues/2848","label":"github.com/dexidp/dex/issues/2848","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Issue Tracking"]},{"url":"https://github.com/dexidp/dex/pull/2964","label":"github.com/dexidp/dex/pull/2964","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Issue Tracking","Patch"]},{"url":"https://github.com/dexidp/dex/commit/5bbdb4420254ba73b9c4df4775fe7bdacf233b17","label":"github.com/dexidp/dex/commit/5bbdb4420254ba73b9c4df4775fe7bdacf233b17","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/dexidp/dex/blob/70d7a2c7c1bb2646b1a540e49616cbc39622fb83/cmd/dex/serve.go#L425","label":"github.com/dexidp/dex/blob/70d7a2c7c1bb2646b1a540e49616cbc39622fb83/cmd/dex/serve.go","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23656.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23656.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23656","label":"nvd.nist.gov/vuln/detail/CVE-2024-23656","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/dexidp/dex","label":"github.com/dexidp/dex","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-C697-GGF8-XX55","CGA-JMWF-RPP8-M7FH"]},"timeline":[{"kind":"published","date":"2024-01-25T19:45:41.237Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-03T18:20:38.271Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:58:17.236Z","stale":false,"partial":false}}