{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-21494", "ASSIGNER": "report@snyk.io", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Authentication Bypass by Spoofing", "cweId": "CWE-290" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "n/a", "product": { "product_data": [ { "product_name": "github.com/greenpau/caddy-security", "version": { "version_data": [ { "version_affected": "<", "version_name": "0", "version_value": "*" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249859", "refsource": "MISC", "name": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249859" }, { "url": "https://github.com/greenpau/caddy-security/issues/266", "refsource": "MISC", "name": "https://github.com/greenpau/caddy-security/issues/266" }, { "url": "https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/", "refsource": "MISC", "name": "https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/" } ] }, "credits": [ { "lang": "en", "value": "Maciej Domanski" }, { "lang": "en", "value": "Travis Peters" }, { "lang": "en", "value": "David Pokora" } ], "impact": { "cvss": [ { "version": "3.1", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 5.4, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P" } ] } }