Medium severity5.3GHSA Advisory· Published Feb 17, 2024· Updated Jun 17, 2026
CVE-2024-21493
CVE-2024-21493
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/greenpau/caddy-securityGo | <= 1.1.23 | — |
Affected products
2- Range: <= 1.1.23
Patches
Vulnerability mechanics
References
7- blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/nvdThird Party Advisory
- github.com/advisories/GHSA-8h95-jcp5-pjprghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-21493ghsaADVISORY
- security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5961078nvdThird Party AdvisoryWEB
- github.com/greenpau/caddy-securityghsaPACKAGE
- blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddyghsaWEB
- github.com/greenpau/caddy-security/issues/263nvdIssue TrackingWEB
News mentions
0No linked articles in our index yet.