{"id":"CVE-2024-21498","aliases":["CVE-2024-21498","GHSA-93x8-66j2-wwr5","GO-2024-2561"],"related":[],"kind":"vulnerability","state":"published","title":"Server-Side Request Forgery in github.com/greenpau/caddy-security","summary":"All versions of the package github.com/greenpau/caddy-security are vulnerable to Server-side Request Forgery (SSRF) via X-Forwarded-Host header manipulation. An attacker can expose sensitive information, interact with internal services, or exploit other vulnerabilities within the network by exploiting this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"All versions of the package github.com/greenpau/caddy-security are vulnerable to Server-side Request Forgery (SSRF) via X-Forwarded-Host header manipulation. An attacker can expose sensitive information, interact with internal services, or exploit other vulnerabilities within the network by exploiting this vulnerability.","source":"cvelist"},{"lang":"en","text":"Server-Side Request Forgery in github.com/greenpau/caddy-security","format":"markdown","source":"go"},{"lang":"es","text":"Todas las versiones del paquete github.com/greenpau/caddy-security son vulnerables a Server-side Request Forgery (SSRF) a través de la manipulación del encabezado X-Forwarded-Host. Un atacante puede exponer información confidencial, interactuar con servicios internos o explotar otras vulnerabilidades dentro de la red aprovechando esta vulnerabilidad.","source":"nvd"}],"published":"2024-02-17T05:00:05.493Z","modified":"2026-06-17T07:09:37.240Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"github.com/greenpau/caddy-security","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"vendor":"authcrunch","product":"caddy_security","cpe":"cpe:2.3:a:authcrunch:caddy_security:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.1.23"}],"ecosystem":"Go","package":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","source":"go"},{"ranges":[],"vendor":"authcrunch","product":"caddy-security","cpe":"cpe:2.3:a:authcrunch:caddy-security:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249862","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/greenpau/caddy-security/issues/269","tags":["exploit","issue-tracking","report","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","tags":["issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21498","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-93x8-66j2-wwr5","tags":["advisory"],"sources":["go"]}],"credits":["Maciej Domanski","Travis Peters","David Pokora"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-02-22T15:56:07.888Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21498","url":"https://www.cve.org/CVERecord?id=CVE-2024-21498","licence":"CVE Terms of Use","modified":"2024-08-01T22:20:40.839Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-93x8-66j2-wwr5","url":"https://github.com/advisories/GHSA-93x8-66j2-wwr5","licence":"CC-BY-4.0","modified":"2024-08-02T10:39:31.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2561","url":"https://pkg.go.dev/vuln/GO-2024-2561","licence":"CC-BY-4.0","modified":"2026-03-03T04:54:45.545Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21498","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21498","licence":"Public domain","modified":"2026-06-17T07:09:37.240Z"}],"updatedAt":"2026-11-25T22:58:36.888Z","epss":{"score":0.00554,"percentile":0.47656,"date":"2026-12-01T12:00:22.000Z"}}