CVE-2024-21493

Published Feb 17, 2024 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0575 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.
Github GHSA Github GHSA GHSA-8h95-jcp5-pjpr Improper Validation of Array Index in github.com/greenpau/caddy-security
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Aug 1, 2024, 10:20 PM
Reserved
Dec 22, 2023, 12:33 PM
Status
Analyzed
Published
Feb 17, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:09 AM