Live threats

All CVEs / Greenpau

CVE-2024-21494Greenpau Caddy-security

Medium 5.4 No auth needed

Priority
47
CVSS 3.1
5.4
EPSS
0.7%
probability of exploitation in 30 days · percentile 49
Auth required
No
Published
Feb 17, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-290, CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Caddy-security.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/greenpau/caddy-security ≤ 1.1.23 no fixed version —
Go github.com/greenpau/caddy-security all no fixed version —

Per OSV / GitHub Advisories (GHSA-vj36-3ccr-6563, GO-2024-2558). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
greenpaucaddy-securityall

Official sources

References

Links published by the sources. Open them with care.