VULNERABILITY INTELLIGENCE
CVE-2024-21494
CVSS score5.4 MEDIUM
EPSS probability0.52%
CISA KEVNot currently listed
Published2024-02-17
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
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.
Weakness classification
- report@snyk.io: CWE-290
- nvd@nist.gov: CWE-290
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-79
Primary references
- report@snyk.io — Third Party Advisory
- report@snyk.io — Issue Tracking
- report@snyk.io — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory