CVE-2024-21495

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-21495
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21495.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-21495
Aliases
Withdrawn
2025-02-28T04:01:10.329677Z
Published
2024-02-17T05:15:09Z
Modified
2025-02-26T20:43:23.246540Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/greenpau/go-authcrunch

Affected ranges

Type
GIT
Repo
https://github.com/greenpau/go-authcrunch
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v1.*

v1.0.10
v1.0.11
v1.0.12
v1.0.13
v1.0.14
v1.0.15
v1.0.16
v1.0.17
v1.0.18
v1.0.19
v1.0.20
v1.0.21
v1.0.22
v1.0.23
v1.0.24
v1.0.25
v1.0.27
v1.0.28
v1.0.29
v1.0.30
v1.0.31
v1.0.32
v1.0.33
v1.0.34
v1.0.35
v1.0.36
v1.0.37
v1.0.38
v1.0.39
v1.0.40
v1.0.41
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9