CVE-2024-21493
MEDIUM5.3EPSS 0.06%Improper Validation of Array Index in github.com/greenpau/caddy-security
發布日:2024/2/17修改日:2024/6/28
描述
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.
受影響套件(2)
- Go/github.com/greenpau/caddy-securityfrom 0, <= 1.1.23
- Go/github.com/greenpau/caddy-securityfrom 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
參考連結(6)
- ADVISORYhttps://github.com/advisories/GHSA-8h95-jcp5-pjpr
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-21493
- PATCHgithub.com/greenpau/caddy-security
- WEBhttps://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy
- WEBhttps://github.com/greenpau/caddy-security/issues/263
- WEBhttps://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5961078