CVE-2024-21495

published 17 Feb 2024 · updated 5 Sep 2024

Versions of the package github.com/greenpau/caddy-security before 1.0.42 are vulnerable to Insecure Randomness due to using an insecure…

6.5MediumCVSS 6.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.0.42.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<1.0.421.0.42

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-21495 severity on Zeptric[![CVE-2024-21495](https://zeptric.io/badge/cve/CVE-2024-21495.svg)](https://zeptric.io/cve/CVE-2024-21495)