CVE-2024-21495
CVSS 3.1 Score 6.5 of 10 (medium)
Details
Summary
CVE-2024-21495 is a vulnerability found in versions of the package github.com/greenpau/caddy-security before 1.0.42. The vulnerability is categorized as "Use of Insufficiently Random Values" (CWE-330) and has a base severity rating of MEDIUM with a base score of 6.5 according to CVSS version 3.1. This vulnerability arises from the package's usage of an insecure random number generation library, which could be predicted through a brute-force search. Attackers could potentially exploit this vulnerability to conduct OAuth replay attacks by predicting the nonce value used for authentication in the OAuth flow. Additionally, insecure randomness is employed when generating multifactor authentication (MFA) secrets and creating API keys in the associated database package. The exploitability score is rated at 3.9, indicating a moderate risk level, with no privileges required and no user interaction needed for exploitation. The impact on integrity and confidentiality is considered low, while availability is not affected by this vulnerability.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Advisories, Assessments, and Mitigations
Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future
- Gain complete coverage of your cyber, third party, and physical attack surface
- Proactively mitigate threats before they turn into costly attacks
- Make fast, effective, data-driven decisions