QID 997398

Date Published: 2024-02-22

QID 997398: GO (Go) Security Update for github.com/greenpau/caddy-security (GHSA-c7vf-m394-m4x4)

Versions of the package github.com/greenpau/caddy-security before 1.0.42 are vulnerable to Insecure Randomness due to using an insecure random number generation library which could possibly be predicted via a brute-force search. Attackers could use the potentially predictable nonce value used for authentication purposes in the OAuth flow to conduct OAuth replay attacks. In addition, insecure randomness is used while generating multifactor authentication (MFA) secrets and creating API keys in the database package.

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

  • CVSS V3 rated as High - 6.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Refer to Github security advisory GHSA-c7vf-m394-m4x4 for updates and patch information.
    Vendor References

    CVEs related to QID 997398

    Software Advisories
    Advisory ID Software Component Link