Files
vuln-osv/data/Go/GHSA-vj36-3ccr-6563.json

1 line
1.7 KiB
JSON

{"schema_version":"1.9.0","id":"GHSA-vj36-3ccr-6563","published":"2024-02-17T06:30:34Z","modified":"2024-06-28T15:58:30.531033Z","aliases":["CVE-2024-21494","GO-2024-2558"],"summary":"Authentication Bypass by Spoofing in github.com/greenpau/caddy-security","details":"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.","affected":[{"package":{"name":"github.com/greenpau/caddy-security","ecosystem":"Go","purl":"pkg:golang/github.com/greenpau/caddy-security"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.23"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-vj36-3ccr-6563/GHSA-vj36-3ccr-6563.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21494"},{"type":"WEB","url":"https://github.com/greenpau/caddy-security/issues/266"},{"type":"WEB","url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249859"},{"type":"PACKAGE","url":"github.com/greenpau/caddy-security"}],"database_specific":{"cwe_ids":["CWE-290","CWE-79"],"github_reviewed":true,"github_reviewed_at":"2024-02-20T23:46:27Z","nvd_published_at":"2024-02-17T05:15:09Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}