CVE-2024-21495CWE-330

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…

Medium · published February 17, 2024

CVSS v3.1
6.5
EPSS
1%
Percentile
51.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P
CVSS v4.0
Not supplied
EPSS
0.00680 · 51.8th percentile
Weakness
CWE-330 · Use of Insufficiently Random Values
Published
2024-02-17T05:00Z
EPSS history
Timeline
  • 17 FEB 05:00Z
    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…
    cvelistv5