Read the docs
TI-2024-14250 Aliases CVE-2024-21493GHSA-8h95-jcp5-pjpr

Improper array index validation in github.com/greenpau/caddy-security

Priority LOW 25CWE-129Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00722 54th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
—github.com/greenpau/caddy-securityall versions—No fix listedCNA
—github.com/greenpau/caddy-security (Go)up to 1.1.23—No fix listedGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:*all versionsVulnerableGreenpau
  • cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Greenpau

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21493
  2. 2026-10-03 Alias added: GHSA-8h95-jcp5-pjpr

References

  • 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