CVE-2024-21493 – github.com/greenpau/caddy-security
Package
Manager: go
Name: github.com/greenpau/caddy-security
Vulnerable Version: >=0 <=1.1.23
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS: 0.00028 pctl0.06409
Details
Improper Validation of Array Index in github.com/greenpau/caddy-security 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.
Metadata
Created: 2024-02-17T06:30:34Z
Modified: 2024-02-20T23:47:20Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-8h95-jcp5-pjpr/GHSA-8h95-jcp5-pjpr.json
CWE IDs: ["CWE-129"]
Alternative ID: GHSA-8h95-jcp5-pjpr
Finding: F184
Auto approve: 1