{"cve":"CVE-2024-21494","nvd":{"published":"2024-02-17T05:15:09.077","modified":"2026-06-17T07:09:36.700","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-290","CWE-79"],"references":["https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","https://github.com/greenpau/caddy-security/issues/266","https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249859","https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","https://github.com/greenpau/caddy-security/issues/266"],"products":["greenpau:caddy-security"],"source":"nvd","synced_at":"2026-10-19T21:45:59.823092188+00:00"},"epss":{"cve":"CVE-2024-21494","score":0.00519,"percentile":0.44099,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vj36-3ccr-6563","url":"https://osv.dev/vulnerability/GHSA-vj36-3ccr-6563","summary":"Authentication Bypass by Spoofing in github.com/greenpau/caddy-security","modified":"2024-06-28T15:58:30.531033Z","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-2558","url":"https://osv.dev/vulnerability/GO-2024-2558","summary":"Authentication Bypass by Spoofing in github.com/greenpau/caddy-security","modified":"2026-03-03T04:54:42.785861Z","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."]}