Vulnerability in Greenpau Caddy-Security
CVE-2024-21493
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.
EPSS: 0.007 (50.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Greenpau Caddy-security
- N/a Github.com/greenpau/caddy-security — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- report@snyk.io (Third Party Advisory)
- report@snyk.io (Third Party Advisory)
- report@snyk.io (Issue Tracking)
Frequently asked questions
- What is CVE-2024-21493?
- CVE-2024-21493 is a medium-severity vulnerability in Greenpau Caddy-Security, classified under Improper Validation of Array Index. CVSS score: 5.3/10. Published 2024-02-17.
- How severe is CVE-2024-21493?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2024-21493 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.