{"id":"CVE-2024-21493","published":"2024-02-17T05:00:08Z","modified":"2024-08-01T22:20:40Z","title":"All versions of the package github.com/greenpau/caddy-security are vulnerable to Improper Validation of Array Index…","vendor":null,"product":null,"tier":"tail","description":{"text":"All versions of the package github.com/greenpau/caddy-security are vulnerable to Improper Validation of Array Index when parsing a Caddyfile. Multiple parsing functions in the affected library do not validate whether their input values are nil before attempting to access elements, which can lead to a panic (index out of range). Panics during the parsing of a configuration file may introduce ambiguity and vulnerabilities, hindering the correct interpretation and configuration of the web server.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00931,"percentile":0.58936,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5961078","tags":[]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","tags":[]},{"url":"https://github.com/greenpau/caddy-security/issues/263","tags":[]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":11.79},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/greenpau/caddy-security","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-20T18:44:32.300528Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/greenpau/caddy-security","vulnerableRanges":["<=1.1.23","all versions"],"patched":[],"from":["GHSA-8h95-jcp5-pjpr","GO-2024-2564"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0575","exploited":false,"provenance":"source"}}