{"id":"CVE-2024-21499","aliases":["EUVD-2024-0712","GHSA-r969-783f-6jqr","GO-2024-2562"],"status":"published","title":"Improper Neutralization of HTTP Headers in github.com/greenpau/caddy-security","description":"All versions of the package github.com/greenpau/caddy-security are vulnerable to HTTP Header Injection via the X-Forwarded-Proto header due to redirecting to the injected protocol.Exploiting this vulnerability could lead to bypass of security mechanisms or confusion in handling TLS.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00495,"percentile":0.42771,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-116","CWE-644"],"published":"2024-02-17T05:00:06Z","modified":"2026-06-17T07:09:37Z","affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/greenpau/caddy-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.1.23"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/greenpau/caddy-security","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.23"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/greenpau/caddy-security","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"products":[{"vendor":"greenpau","product":"caddy-security"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249863","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/greenpau/caddy-security/issues/270","tags":["x_transferred","Issue Tracking","web","report"]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","tags":["x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21499","tags":["advisory"]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r969-783f-6jqr","tags":["advisory"]},{"url":"github.com/greenpau/caddy-security","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-21499","description":"All versions of the package github.com/greenpau/caddy-security are vulnerable to HTTP Header Injection via the X-Forwarded-Proto header due to redirecting to the injected protocol.Exploiting this vulnerability could lead to bypass of security mechanisms or confusion in handling TLS.","status":"published","published":"2024-02-17T05:00:06.256Z","modified":"2024-08-01T22:20:40.619Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P","level":"medium","assessor":"cna"}],"cwes":["CWE-644"],"updated_at":"2026-11-02T14:34:04.681315Z"}],"euvd":[{"id":"EUVD-2024-0712","description":"All versions of the package github.com/greenpau/caddy-security are vulnerable to HTTP Header Injection via the X-Forwarded-Proto header due to redirecting to the injected protocol.Exploiting this vulnerability could lead to bypass of security mechanisms or confusion in handling TLS.","status":"published","published":"2024-02-17T05:00:06Z","modified":"2024-08-01T22:20:40Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P","level":"medium"}],"updated_at":"2026-11-03T03:50:29.983832Z"}],"ghsa":[{"id":"GHSA-r969-783f-6jqr","title":"Improper Neutralization of HTTP Headers in github.com/greenpau/caddy-security","description":"All versions of the package github.com/greenpau/caddy-security are vulnerable to HTTP Header Injection via the X-Forwarded-Proto header due to redirecting to the injected protocol.Exploiting this vulnerability could lead to bypass of security mechanisms or confusion in handling TLS.","status":"published","published":"2024-02-17T06:30:35Z","modified":"2026-03-20T05:03:16Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-644"],"updated_at":"2026-11-02T14:39:38.524712Z"}],"nvd":[{"id":"CVE-2024-21499","description":"All versions of the package github.com/greenpau/caddy-security are vulnerable to HTTP Header Injection via the X-Forwarded-Proto header due to redirecting to the injected protocol.Exploiting this vulnerability could lead to bypass of security mechanisms or confusion in handling TLS.","status":"published","published":"2024-02-17T05:15:10.4Z","modified":"2026-06-17T07:09:37.377Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-644","CWE-116"],"updated_at":"2026-11-02T14:09:37.655131Z"}],"osv":[{"id":"GHSA-r969-783f-6jqr","title":"Improper Neutralization of HTTP Headers in github.com/greenpau/caddy-security","description":"All versions of the package github.com/greenpau/caddy-security are vulnerable to HTTP Header Injection via the X-Forwarded-Proto header due to redirecting to the injected protocol.Exploiting this vulnerability could lead to bypass of security mechanisms or confusion in handling TLS.","status":"published","published":"2024-02-17T06:30:35Z","modified":"2024-06-28T15:58:33.903059Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-644"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"GO-2024-2562","title":"Improper Neutralization of HTTP Headers in github.com/greenpau/caddy-security","description":"Improper Neutralization of HTTP Headers in github.com/greenpau/caddy-security","status":"published","published":"2024-06-28T15:28:53Z","modified":"2026-03-03T04:54:44.036731Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
