CVSS 3.1 Score 8.8 of 10 (high)


Published Jul 4, 2023
Updated: Jul 17, 2023
CWE ID 352


CVE-2023-31999 is a vulnerability that affects all versions of @fastify/oauth2. The vulnerability is related to the usage of a statically generated state parameter that is used across all requests for all users. This parameter is meant to prevent Cross-Site Request Forgery (CSRF) attacks and should be unique per user. However, in this case, it is not properly connected to the user's session. The default behavior change in version 7.2.0 addresses this issue by storing the state in a cookie with the http-only and same-site=lax attributes set, and generating a unique state for every user. The vulnerability has a high base severity score of 8.8 and poses a potential danger to organizations as it can lead to unauthorized access, data breaches, and compromise of user sessions. Organizations should upgrade to version 7.2.0 or later to remediate this vulnerability and enhance their system's security against CSRF attacks.


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

Note: This is just a basic overview providing quick insights into CVE-2023-31999 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