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.
Published: 2024-02-17
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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

Thu, 24 Apr 2025 15:45:00 +0000

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

Thu, 24 Apr 2025 15:15:00 +0000

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'}


Subscriptions

Github.com\/greenpau\/caddy-security Github.com\/greenpau\/caddy-security
Greenpau Caddy-security
cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2025-04-24T15:12:20.920Z

Reserved: 2023-12-22T12:33:20.118Z

Link: CVE-2024-21494

cve-icon Vulnrichment

Updated: 2024-08-01T22:20:40.577Z

cve-icon NVD

Status : Modified

Published: 2024-02-17T05:15:09.077

Modified: 2025-04-24T15:15:56.593

Link: CVE-2024-21494

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses