CVSS 3.1 Score 6.5 of 10 (medium)


Published Feb 17, 2024
Updated: Feb 20, 2024
CWE ID 330


CVE-2024-21495 is a vulnerability found in versions of the package 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.


Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2024-21495 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more 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