QID 997388

Date Published: 2024-02-22

QID 997388: GO (Go) Security Update for github.com/greenpau/caddy-security (GHSA-8h95-jcp5-pjpr)

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.

Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Refer to Github security advisory GHSA-8h95-jcp5-pjpr for updates and patch information.
    Vendor References

    CVEs related to QID 997388

    Software Advisories
    Advisory ID Software Component Link