cve.bz

CVE-2024-21494

5.4 mediumEPSS 0.5%

Medium (5.4) in greenpau caddy-security. EPSS 0.5% chance of exploitation in the next 30 days.

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS
0.5% chance of exploitation in the next 30 days; higher than 44% of CVEs (scores of 2026-10-31)
CWEs
CWE-290, CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vj36-3ccr-6563Gogithub.com/greenpau/caddy-security<=1.1.23no fix published
GO-2024-2558Gogithub.com/greenpau/caddy-securityall versionsno fix published

References

Check your stackJSON