In short
- CVE-2024-21493 is a MEDIUM (CVSS 5.3) vulnerability affecting github.com/greenpau/caddy-security.
- Chance of exploitation in the next 30 days (EPSS): 0.72%, higher than 54.2% of all vulnerabilities.
- No patched version is listed yet: follow the vendor's advisory in References.
Description
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.
NVD description
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.
More vulnerabilities in github.com/greenpau/caddy-security
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free