CVE-2024-21494
published medium CVSS 3.1 · 5.4github.com/greenpau/caddy-security vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | github.com/greenpau/caddy-security | 0 and later (affected · semver) | snyk · cna |
| github.com\/greenpau\/caddy-security | github.com\/greenpau\/caddy-security | 0 and later (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-290 Authentication Bypass by Spoofing
- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d6f1ce480f4c8e20e56879d4121cf9a2aa65b0d32d6cd2acbcae4673c61ebd34
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record