CVE-2023-31999

CVSS 3.1 Score 8.8 of 10 (high)

Details

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

Summary

CVE-2023-31999 affects all versions of the @fastify/oauth2 library. The vulnerability arises from the use of a statically generated state parameter at startup time, which is applied to all requests for all users. This goes against the best security practices for OAuth2 state parameters, which should be unique per user and connected to their session. The new version, 7.2.0, addresses this issue by storing the state in a cookie with http-only and same-site=lax attributes, and generating a new state for each user. This change results in a breaking change in the checkStateFunction function, which now accepts the full Request object.

Ligh bulbPrevent 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.

Share

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

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