{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-21493","published":"2024-02-17T05:15:08.747000Z","last_modified":"2026-06-17T07:09:36.567000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-129"],"cpes":[{"criteria":"cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:*","part":"a","vendor":"greenpau","product":"caddy-security"}],"cpes_truncated":false,"vendors":["greenpau"],"products":["greenpau/caddy-security"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00931,"percentile":0.59003,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8h95-jcp5-pjpr","ecosystem":"Go","name":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","ranges":[{"introduced":"0","last_affected":"1.1.23"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-2564","ecosystem":"Go","name":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2024-21493/","html_en":"/en/cve/CVE-2024-21493/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-21493","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-21493"},"untrusted":{"vendor_name":"Greenpau","product_name":"Caddy-security","desc_en":"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.","affected":[],"references":[{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","tags":["Third Party Advisory"]},{"url":"https://github.com/greenpau/caddy-security/issues/263","tags":["Issue Tracking"]},{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5961078","tags":["Third Party Advisory"]}]}}