cve.bz

CVE-2024-21493

5.3 mediumEPSS 0.7%

Medium (5.3) in greenpau caddy-security. EPSS 0.7% chance of exploitation in the next 30 days.

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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.7% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-10-31)
CWE
CWE-129
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8h95-jcp5-pjprGogithub.com/greenpau/caddy-security<=1.1.23no fix published
GO-2024-2564Gogithub.com/greenpau/caddy-securityall versionsno fix published

References

Check your stackJSON