Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsThere is no fixed version for github.com/greenpau/caddy-security
.
github.com/greenpau/caddy-security is a Security App and Plugin for Caddy v2.
Affected versions of this package 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.
func TestCrashCredentialsUsername(t *testing.T) {
file := caddyfile.NewTestDispenser(string("0 { credentials 0 { username"))
parseCaddyfile(file, nil)
}
func TestCrashCredentialsDomain(t *testing.T) {
file := caddyfile.NewTestDispenser(string("0 { credentials 0 { domain"))
parseCaddyfile(file, nil)
}
func TestCrashSSOProvider(t *testing.T) {
file := caddyfile.NewTestDispenser(string("00 { sso provider 0 { entity_id"))
parseCaddyfile(file, nil)
}
func TestCrashParseCaddyfileMessaging(t *testing.T) {
file := caddyfile.NewTestDispenser(string("0 { messaging email provider 0 { address"))
parseCaddyfile(file, nil)
}