CVE-2024-21494

Published Feb 17, 2024 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0735 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.
Github GHSA Github GHSA GHSA-vj36-3ccr-6563 Authentication Bypass by Spoofing in github.com/greenpau/caddy-security
History
Type Values Removed Values Added
First Time appeared Greenpau
Greenpau caddy-security
CPEs cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:*
Vendors & Products Greenpau
Greenpau caddy-security
Type Values Removed Values Added
First Time appeared Github.com\/greenpau\/caddy-security
Github.com\/greenpau\/caddy-security github.com\/greenpau\/caddy-security
Weaknesses CWE-79
CPEs cpe:2.3:a:github.com\/greenpau\/caddy-security:github.com\/greenpau\/caddy-security:*:*:*:*:*:*:*:*
Vendors & Products Github.com\/greenpau\/caddy-security
Github.com\/greenpau\/caddy-security github.com\/greenpau\/caddy-security
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Apr 24, 2025, 3:12 PM
Reserved
Dec 22, 2023, 12:33 PM
Status
Modified
Published
Feb 17, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:09 AM