{"cve":"CVE-2024-21499","nvd":{"published":"2024-02-17T05:15:10.400","modified":"2026-06-17T07:09:37.377","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-116","CWE-644"],"references":["https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","https://github.com/greenpau/caddy-security/issues/270","https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249863","https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","https://github.com/greenpau/caddy-security/issues/270"],"products":["greenpau:caddy-security"],"source":"nvd","synced_at":"2026-10-19T21:45:59.823092188+00:00"},"epss":{"cve":"CVE-2024-21499","score":0.00495,"percentile":0.42503,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r969-783f-6jqr","url":"https://osv.dev/vulnerability/GHSA-r969-783f-6jqr","summary":"Improper Neutralization of HTTP Headers in github.com/greenpau/caddy-security","modified":"2024-06-28T15:58:33.903059Z","packages":[{"ecosystem":"Go","name":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","ranges":["<=1.1.23"],"fixed":[]}]},{"id":"GO-2024-2562","url":"https://osv.dev/vulnerability/GO-2024-2562","summary":"Improper Neutralization of HTTP Headers in github.com/greenpau/caddy-security","modified":"2026-03-03T04:54:44.036731Z","packages":[{"ecosystem":"Go","name":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}