CVE-2024-21494
CVE-2024-21494 is a medium-severity vulnerability in Greenpau Caddy-security with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-290.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- EPSS exploit prediction: 1% (41st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0735
- Weakness: CWE-290
- Affected product: Greenpau Caddy-security
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-21494?
- 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.
- How severe is CVE-2024-21494?
- CVE-2024-21494 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2024-21494 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (41st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-21494?
- CVE-2024-21494 affects Greenpau Caddy-security. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-21494?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-21494 have an EU (EUVD) identifier?
- Yes. CVE-2024-21494 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0735.
- When was CVE-2024-21494 published?
- CVE-2024-21494 was published on 2024-02-17 and last updated on 2026-06-17.
References
- https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/
- https://github.com/greenpau/caddy-security/issues/266
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249859
Affected products (1)
- cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:*
More vulnerabilities in Greenpau Caddy-security
- CVE-2024-21495 — Medium (CVSS 6.5): Versions of the package github.com/greenpau/caddy-security before 1.0.42 are vulnerable to Insecure Randomness due to…
- CVE-2024-21497 — Medium (CVSS 5.4): Versions of the package github.com/greenpau/caddy-security are vulnerable to Open Redirect via the redirect_url…
- CVE-2024-21493 — Medium (CVSS 5.3): All versions of the package github.com/greenpau/caddy-security are vulnerable to Improper Validation of Array Index…
- CVE-2024-21499 — Medium (CVSS 4.3): All versions of the package github.com/greenpau/caddy-security are vulnerable to HTTP Header Injection via the…
All CVEs affecting Greenpau Caddy-security →
Other CWE-290 vulnerabilities
- CVE-2026-54782 — Critical (CVSS 10.0): CoreWCF is a port of the service side of Windows Communication Foundation (WCF) to .NET Core. Prior to 1.8.1 and 1.9.1,…
- CVE-2026-48567 — Critical (CVSS 10.0): Authentication bypass by spoofing in Azure HorizonDB allows an unauthorized attacker to elevate privileges over a…
- CVE-2026-6213 — Critical (CVSS 10.0): A vulnerability in Remote Spark SparkView before build 1122 allows an attacker to bypasses the local connection check…
- CVE-2026-39858 — Critical (CVSS 10.0): Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a high…
- CVE-2025-66570 — Critical (CVSS 10.0): cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.27.0, a vulnerability…
- CVE-2025-34063 — Critical (CVSS 10.0): A cryptographic authentication bypass vulnerability exists in OneLogin AD Connector prior to 6.1.5 due to the exposure…