Improper array index validation in github.com/greenpau/caddy-security
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/greenpau/caddy-security | all versions | — | No fix listed | CNA |
| — | github.com/greenpau/caddy-security (Go) | up to 1.1.23 | — | No fix listed | GHSA-8h95-jcp5-pjpr |
- github.com/greenpau/caddy-security Vendor— Affected all versions Fixed in — No fix listed CNA
- github.com/greenpau/caddy-security (Go) Vendor— Affected up to 1.1.23 Fixed in — No fix listed GHSA-8h95-jcp5-pjpr
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-21493
- 2026-10-03 Alias added: GHSA-8h95-jcp5-pjpr
References
More Greenpau Caddy-security vulnerabilities
- TI-2024-14252 Versions of the package github.com/greenpau/caddy-security before 1.0.42 are vulnerable… CVSS 3.1CRITICAL 9.8
- TI-2024-14251 Authentication bypass by spoofing in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 5.4
- TI-2024-14254 Open redirect in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 6.1
- TI-2024-14256 Improper output encoding in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 4.3
Sources
- CVE-2024-21493 · CVE Program
- CVE-2024-21493 · NVD
- FIRST EPSS
- GHSA-8h95-jcp5-pjpr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences