Skip to main content

Improper Encoding or Escaping of Output

CVE-2024-21499

Severity Medium
Score 4.3/10

Summary

All versions of the package github.com/greenpau/caddy-security are vulnerable to HTTP Header Injection via the 'X-Forwarded-Proto' header due to redirecting to the injected protocol. Exploiting this vulnerability could lead to a bypass of security mechanisms or confusion in handling TLS.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • REQUIRED
  • NONE
  • NONE
  • NONE

CWE-116 - Improper Encoding or Escaping of Output

The software prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.

Advisory Timeline

  • Published