PT-2024-18909

CVE-2024-21493

·

Published

2024-02-16

·

Updated

2024-06-28

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions github.com/greenpau/caddy-security versions all
Description The issue arises from improper validation of array indices when parsing a Caddyfile. Multiple parsing functions in the affected library do not check if their input values are nil before attempting to access elements, leading to potential panics due to index out of range errors. These panics during configuration file parsing can introduce ambiguity and vulnerabilities, affecting the correct interpretation and configuration of the web server.
Recommendations For github.com/greenpau/caddy-security version all, consider implementing input validation to check for nil values before accessing array elements to prevent index out of range panics. As a temporary workaround, carefully review and validate all Caddyfile configurations to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-8H95-JCP5-PJPR
GO-2024-2564
Found an issue in the description? Have something to add? Feel free to write us 👾