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.

Explore Beyond the CVE Basics with Recorded Future's Vulnerability Intelligence

Note: This is just a basic overview providing quick insights into CVE-2024-21495 information. Gain full access to comprehensive CVE data, risk scores, prioritization, and mitigation data through Recorded Future's Vulnerability Intelligence:
  • Prioritize with Risk-Based Scoring
  • Explore the Extensive Vulnerability Database
  • Receive Early Alerts on Emerging CVEs
  • Focus on Critical Exploitable Vulnerabilities
  • Streamline Remediation with Integration Options