Vulnerability

CVE-2024-21493

mediumCVSS 3.1 5.3Published 17 Feb 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Greenpau caddy-security

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning