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 Information

Status: PUBLISHED

Assigner: snyk

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

Updated: 2024-07-05T17:21:44.811Z

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


Link: CVE-2024-21495

JSON object: View

cve-icon NVD Information

Status : Awaiting Analysis

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

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


Link: CVE-2024-21495

JSON object: View

cve-icon Redhat Information

No data.

CWE