github.com/greenpau/caddy-security is vulnerable to Improper Validation of Array Index
53
Medium Risk
Affected versions of this package contain multiple Caddyfile parsing functions that do not validate whether input values are nil before accessing elements, causing an index out of range panic. A crafted Caddyfile targeting the credentials, sso provider, or messaging directive parsers can crash the server during configuration loading. The patch adds length checks on the return value of RemainingArgs() before indexing into the slice.
You are affected if you are using a version that falls within the vulnerable range.
github.com/greenpau/caddy-security is vulnerable to Improper Validation of Array Index in versions 0.0.1 - 1.1.31.
Upgrade the github.com/greenpau/caddy-security library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant