{"schema":"threatline.record/2","record":{"id":"CVE-2024-58398","aliases":["GHSA-wcx9-ccpj-hx3c","GO-2024-3228"],"summary":"Coder 2.3.1 before 2.16.1 Open Redirect via Login Page redirect Parameter","details":"Coder 2.3.1 before 2.14.4, 2.15.x before 2.15.3, and 2.16.0 before 2.16.1 contains an open redirect vulnerability in the login page because the redirect query parameter is improperly sanitized. Attackers can craft a Coder login URL that, when clicked by a logged-in user, redirects the victim to an attacker-controlled website for phishing.","categories":["Libraries & packages"],"product":"coder","vendor":"coder","ecosystem":"Go","affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-58398","source_modified_at":"2026-10-21T21:34:59.156Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"coder","vendor":"coder","versions":[{"lessThan":"2.16.1","status":"affected","version":"2.16.0","versionType":"semver"},{"status":"unaffected","version":"2.16.1","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-58398","source_modified_at":"2026-10-21T21:34:59.156Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"coder","vendor":"coder","versions":[{"lessThan":"2.15.3","status":"affected","version":"2.15.0","versionType":"semver"},{"status":"unaffected","version":"2.15.3","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-58398","source_modified_at":"2026-10-21T21:34:59.156Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"coder","vendor":"coder","versions":[{"lessThan":"2.14.4","status":"affected","version":"2.3.1","versionType":"semver"},{"status":"unaffected","version":"2.14.4","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wcx9-ccpj-hx3c","source_modified_at":"2026-10-18T10:55:48.018610412Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"github.com/coder/coder/v2","ecosystem":"Go","purl":"pkg:golang/github.com/coder/coder/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.16.0"},{"fixed":"2.16.1"}]}],"versions":["2.16.0"]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wcx9-ccpj-hx3c","source_modified_at":"2026-10-18T10:55:48.018610412Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"github.com/coder/coder/v2","ecosystem":"Go","purl":"pkg:golang/github.com/coder/coder/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.15.0"},{"fixed":"2.15.3"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wcx9-ccpj-hx3c","source_modified_at":"2026-10-18T10:55:48.018610412Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"github.com/coder/coder/v2","ecosystem":"Go","purl":"pkg:golang/github.com/coder/coder/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.3.1"},{"fixed":"2.14.4"}]}],"versions":[]}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-58398","source_modified_at":"2026-10-21T21:34:59.156Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"coder","ecosystem":null},"version":"2.16.1","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-58398","source_modified_at":"2026-10-21T21:34:59.156Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"coder","ecosystem":null},"version":"2.15.3","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-58398","source_modified_at":"2026-10-21T21:34:59.156Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"coder","ecosystem":null},"version":"2.14.4","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wcx9-ccpj-hx3c","source_modified_at":"2026-10-18T10:55:48.018610412Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"github.com/coder/coder/v2","ecosystem":"Go","purl":"pkg:golang/github.com/coder/coder/v2"},"version":"2.16.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wcx9-ccpj-hx3c","source_modified_at":"2026-10-18T10:55:48.018610412Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"github.com/coder/coder/v2","ecosystem":"Go","purl":"pkg:golang/github.com/coder/coder/v2"},"version":"2.15.3"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wcx9-ccpj-hx3c","source_modified_at":"2026-10-18T10:55:48.018610412Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"github.com/coder/coder/v2","ecosystem":"Go","purl":"pkg:golang/github.com/coder/coder/v2"},"version":"2.14.4"}],"cvss":5.3,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00268,"percentile":0.17993,"score_date":"2026-10-23"},"published_at":"2026-10-17T18:46:07.073Z","modified_at":"2026-10-21T21:34:59.156Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-58398","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-21T21:34:59.156Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-wcx9-ccpj-hx3c","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-18T10:55:48.018610412Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-58398","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/coder/coder/security/advisories/GHSA-wcx9-ccpj-hx3c","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://github.com/coder/coder/commit/69c1d981e3131e50d52b01f6a360abadaad699e6","tags":["patch"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/coder-2.3.1-before-2.16.1-open-redirect-via-login-page-redirect-parameter","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-21T21:34:49.806627Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-21T21:34:59.156Z","content_hash":"9d0f19fe2b5b0b8f813f278d566ca278440717fa6306a229396c3e68cc274054"}}
