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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: snyk

Published: 2024-02-17T05:00:08.927Z

Updated: 2024-07-05T17:21:47.850Z

Reserved: 2023-12-22T12:33:20.118Z


Link: CVE-2024-21493

JSON object: View

cve-icon NVD Information

Status : Awaiting Analysis

Published: 2024-02-17T05:15:08.747

Modified: 2024-02-20T19:50:53.960


Link: CVE-2024-21493

JSON object: View

cve-icon Redhat Information

No data.

CWE