{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-21494","published":"2024-02-17T05:15:09.077000Z","last_modified":"2026-06-17T07:09:36.700000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-290","CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:*","part":"a","vendor":"greenpau","product":"caddy-security"}],"cpes_truncated":false,"vendors":["greenpau"],"products":["greenpau/caddy-security"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00697,"percentile":0.4857,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vj36-3ccr-6563","ecosystem":"Go","name":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","ranges":[{"introduced":"0","last_affected":"1.1.23"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-2558","ecosystem":"Go","name":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2024-21494/","html_en":"/en/cve/CVE-2024-21494/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-21494","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-21494"},"untrusted":{"vendor_name":"Greenpau","product_name":"Caddy-security","desc_en":"All versions of the package github.com/greenpau/caddy-security are vulnerable to Authentication Bypass by Spoofing via the X-Forwarded-For header due to improper input sanitization. An attacker can spoof an IP address used in the user identity module (/whoami API endpoint). This could lead to unauthorized access if the system trusts this spoofed IP address.","affected":[{"untrusted_vendor":"github.com\\/greenpau\\/caddy-security","untrusted_product":"github.com\\/greenpau\\/caddy-security","versions":[]}],"references":[{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","tags":["Third Party Advisory"]},{"url":"https://github.com/greenpau/caddy-security/issues/266","tags":["Issue Tracking"]},{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249859","tags":["Third Party Advisory"]}]}}