CVE-2024-21493
Last modified
CVE-2024-21493 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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). EPSS estimates a 0.72% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Greenpau | Caddy-Security | All versions |
References
- https://github.com/greenpau/caddy-security/issues/263Issue Tracking
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5961078Third Party Advisory
- https://github.com/greenpau/caddy-security/issues/263Issue Tracking
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5961078Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-21493?
How severe is CVE-2024-21493?
How do I fix CVE-2024-21493?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-21488Versions of the package network before 0.7.0 are vulnerable …9.8
- CVE-2024-21489Versions of the package uplot before 1.6.31 are vulnerable t…8.2
- CVE-2024-2149A vulnerability classified as critical was found in CodeAstr…7.2
- CVE-2024-21490This affects versions of the package angular from 1.3.0; ver…7.5
- CVE-2024-21491Versions of the package svix before 1.17.0 are vulnerable to…6.5
- CVE-2024-21492All versions of the package github.com/greenpau/caddy-securi…8.1
- CVE-2024-21494All versions of the package github.com/greenpau/caddy-securi…5.4
- CVE-2024-21495Versions of the package github.com/greenpau/caddy-security b…9.8
- CVE-2024-21496All versions of the package github.com/greenpau/caddy-securi…6.1
- CVE-2024-21497Versions of the package github.com/greenpau/caddy-security …6.1
- CVE-2024-21498All versions of the package github.com/greenpau/caddy-securi…5.3
- CVE-2024-21499All versions of the package github.com/greenpau/caddy-securi…4.3
Are you affected by CVE-2024-21493?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
