CVE-2024-21493
MEDIUM5.3EPSS 0.06%Improper Validation of Array Index in github.com/greenpau/caddy-security
Published: 2/17/2024Modified: 6/28/2024
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.
Affected packages (2)
- Go/github.com/greenpau/caddy-securityfrom 0, <= 1.1.23
- Go/github.com/greenpau/caddy-securityfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
References (6)
- ADVISORYhttps://github.com/advisories/GHSA-8h95-jcp5-pjpr
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-21493
- PATCHgithub.com/greenpau/caddy-security
- WEBhttps://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy
- WEBhttps://github.com/greenpau/caddy-security/issues/263
- WEBhttps://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5961078