logo

CVE-2024-21494 github.com/greenpau/caddy-security

Package

Manager: go
Name: github.com/greenpau/caddy-security
Vulnerable Version: >=0 <=1.1.23

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00016 pctl0.02341

Details

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.

Metadata

Created: 2024-02-17T06:30:34Z
Modified: 2024-02-20T23:46:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-vj36-3ccr-6563/GHSA-vj36-3ccr-6563.json
CWE IDs: ["CWE-290", "CWE-79"]
Alternative ID: GHSA-vj36-3ccr-6563
Finding: F032
Auto approve: 1