Security mailing lists by PureSourceCode

CVE-2024-21494

MEDIUM 5.4CVSS 3.1

Authentication Bypass by Spoofing in github.com/greenpau/caddy-security

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
17 Feb 2024
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-290CWE-79
Also known as
GHSA-vj36-3ccr-6563GO-2024-2558
Sources
NVDJSONOSV GHSA-vj36-3ccr-6563JSONOSV GO-2024-2558JSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD greenpau caddy-security
cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:*
all versions
OSV Go github.com/greenpau/caddy-security <= 1.1.23
OSV Go github.com/greenpau/caddy-security all versions

References

History

  • 25 Nov 2026 20:54 UTC · NVD: first stored (published 17 Feb 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Feb 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.