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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2024-02-17T05:00:08.241Z

Updated: 2024-09-05T13:47:17.512Z

Reserved: 2023-12-22T12:33:20.118Z

Link: CVE-2024-21495

cve-icon Vulnrichment

Updated: 2024-08-01T22:20:40.898Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-02-17T05:15:09.343

Modified: 2024-02-20T19:50:53.960

Link: CVE-2024-21495

cve-icon Redhat

No data.