Skip to main content
← All vulnerabilities
CVE-2024-21493GHSA-8H95-JCP5-PJPRGO-2024-2564

All versions of the package github.com/greenpau/caddy-security are vulnerable to Improper Validation of Array Index when parsing a Caddyfile

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a github.com/greenpau/caddy-security

    All versions

  • github.com/greenpau/caddy-securityGo

    through 1.1.23

  • github.com/greenpau/caddy-securityGo

    All versions

References 3

security.snyk.io

blog.trailofbits.com

GitHub · greenpau/caddy-security