{"answers":{"affected":"5 open source packages ship an affected version, including github.com/dexidp/dex. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23656 exists.","fix":"Upgrade github.com/dexidp/dex to a fixed version for your release line: 0.0.0-20240125115555-5bbdb4420254 or 2.38.0.","what":"CVE-2024-23656 is a high-severity vulnerability in dexidp dex, published on 25 Jan 2024."},"fix_prompt":"Check this codebase for CVE-2024-23656 and fix it if it is affected.\n\nWhat it is: CVE-2024-23656 is a high-severity vulnerability in dexidp dex, published on 25 Jan 2024. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23656 exists.\n\nAffected packages and fixed versions:\n- github.com/dexidp/dex (Go): affected all versions; no fix listed\n- github.com/dexidp/dex (Go): affected all versions; fixed in 0.0.0-20240125115555-5bbdb4420254\n- github.com/dexidp/dex (Go): affected all versions; fixed in 0.0.0-20240125115555-5bbdb4420254\n- github.com/dexidp/dex (Go): affected from 2.37.0; fixed in 2.38.0\n- github.com/dexidp/dex (Go): affected from 2.37.0; fixed in 2.38.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-23656/ (Markdown: https://insights.sbomify.com/CVE-2024-23656/index.md)","id":"CVE-2024-23656","markdown":"https://insights.sbomify.com/CVE-2024-23656/index.md","name":"CVE-2024-23656","record":{"aliases":["GHSA-gr79-9v6v-gc9r","GO-2024-2476"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"dex","vendor":"linuxfoundation"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-757","name":"Selection of Less-Secure Algorithm During Negotiation"},{"id":"CWE-326","name":"Inadequate Encryption Strength"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Dex 2.37.0 is discarding TLSconfig and always serves deprecated TLS 1.0/1.1 and insecure ciphers","id":"CVE-2024-23656","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2024"},"n_packages":5,"n_references":5,"next":{"headline":"Path Traversal: '../filedir' in Nuxt Devtools","id":"CVE-2024-23657"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/dexidp/dex","purl":"pkg:golang/github.com/dexidp/dex","source":"GO-2024-2476"},{"ecosystem":"Go","fixed":["0.0.0-20240125115555-5bbdb4420254"],"introduced":["0"],"last_affected":[],"package":"github.com/dexidp/dex","purl":null,"source":"GHSA-gr79-9v6v-gc9r"},{"ecosystem":"Go","fixed":["0.0.0-20240125115555-5bbdb4420254"],"introduced":["0"],"last_affected":[],"package":"github.com/dexidp/dex","purl":"pkg:golang/github.com/dexidp/dex","source":"GHSA-gr79-9v6v-gc9r"},{"ecosystem":"Go","fixed":["2.38.0"],"introduced":["2.37.0"],"last_affected":[],"package":"github.com/dexidp/dex","purl":null,"source":"GHSA-gr79-9v6v-gc9r"},{"ecosystem":"Go","fixed":["2.38.0"],"introduced":["2.37.0"],"last_affected":[],"package":"github.com/dexidp/dex","purl":"pkg:golang/github.com/dexidp/dex","source":"GHSA-gr79-9v6v-gc9r"}],"prev":{"headline":"Attacker can prevent users from accessing received emails","id":"CVE-2024-23655"},"products":["dex"],"published":"2024-01-25","related":[{"cvss_score":9.8,"headline":"Auth bypass in dexidp/dex","id":"CVE-2020-27847","kev_date_added":null,"published":"2021-05-28"},{"cvss_score":9.3,"headline":"OAuth authorization code exposure in Dex","id":"CVE-2022-39222","kev_date_added":null,"published":"2022-10-06"},{"cvss_score":9.3,"headline":"Critical security issues in XML encoding in Dex","id":"CVE-2020-26290","kev_date_added":null,"published":"2020-12-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-03","vendors":["dexidp"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-23656/"}