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.
Published: 2024-02-17
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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.

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2024-08-01T22:20:40.991Z

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

Link: CVE-2024-21493

cve-icon Vulnrichment

Updated: 2024-08-01T22:20:40.991Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2024-11-21T08:54:32.820

Link: CVE-2024-21493

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses