
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-29019 affects @fastify/passport, a port of the passport authentication library for the Fastify ecosystem. The vulnerability was discovered and disclosed in April 2023, impacting versions <=1.0.1 and versions 2.0.0 through 2.2.0. This security issue affects applications using @fastify/passport in combination with @fastify/session as the underlying session management mechanism (GitHub Advisory).
The vulnerability is classified as a session fixation attack with a CVSS v3.1 base score of 8.1 (HIGH), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N. The core issue lies in how the application manages session IDs during authentication - when executing the authenticate function, the sessionId is preserved between the pre-login and authenticated session states (GitHub Advisory, NVD).
The vulnerability allows network and same-site attackers to hijack valid user sessions. An attacker can establish a legitimate session ID, trick a victim into authenticating with that session ID, and then hijack the user-validated session using the known session ID. This can lead to unauthorized access to user accounts and potential exposure of sensitive information (GitHub Advisory, OWASP).
The vulnerability has been patched in versions >=1.1.0 <2.0.0 and >=2.3.0. The fix involves regenerating the sessionId upon login, which prevents attacker-controlled pre-session cookies from being upgraded to authenticated sessions. Users are strongly advised to upgrade to the patched versions as there are no known workarounds for this vulnerability (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."