{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-29019","published":"2023-04-21T23:15:20.197000Z","last_modified":"2026-06-17T05:49:12.160000Z","status":"Modified","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-384"],"cpes":[{"criteria":"cpe:2.3:a:fastify:passport:*:*:*:*:*:node.js:*:*","part":"a","vendor":"fastify","product":"passport","version_end_excluding":"1.1.0"},{"criteria":"cpe:2.3:a:fastify:passport:*:*:*:*:*:node.js:*:*","part":"a","vendor":"fastify","product":"passport","version_start_including":"2.0.0","version_end_excluding":"2.3.0"}],"cpes_truncated":false,"vendors":["fastify"],"products":["fastify/passport"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00948,"percentile":0.59744,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4m3m-ppvx-xgw9","ecosystem":"npm","name":"@fastify/passport","purl":"pkg:npm/%40fastify/passport","ranges":[{"introduced":"0","fixed":"1.1.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-4m3m-ppvx-xgw9","ecosystem":"npm","name":"@fastify/passport","purl":"pkg:npm/%40fastify/passport","ranges":[{"introduced":"2.0.0","fixed":"2.3.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2023-29019/","html_en":"/en/cve/CVE-2023-29019/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-29019","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-29019"},"untrusted":{"vendor_name":"Fastify","product_name":"Passport","desc_en":"@fastify/passport is a port of passport authentication library for the Fastify ecosystem. Applications using `@fastify/passport` in affected versions for user authentication, in combination with `@fastify/session` as the underlying session management mechanism, are vulnerable to session fixation attacks from network and same-site attackers. fastify applications rely on the `@fastify/passport` library for user authentication. The login and user validation are performed by the `authenticate` function. When executing this function, the `sessionId` is preserved between the pre-login and the authenticated session. Network and same-site attackers can hijack the victim's session by tossing a valid `sessionId` cookie in the victim's browser and waiting for the victim to log in on the website. As a solution, newer versions of `@fastify/passport` regenerate `sessionId` upon login, preventing the attacker-controlled pre-session cookie from being upgraded to an authenticated session. Users are advised to upgrade. There are no known workarounds for this vulnerability.","affected":[{"untrusted_vendor":"fastify","untrusted_product":"fastify-passport","versions":[]}],"references":[{"url":"https://github.com/fastify/fastify-passport/commit/43c82c321db58ea3e375dd475de60befbfcf2a11","tags":["Patch"]},{"url":"https://github.com/fastify/fastify-passport/security/advisories/GHSA-4m3m-ppvx-xgw9","tags":["Vendor Advisory"]},{"url":"https://owasp.org/www-community/attacks/Session_fixation","tags":["Technical Description"]}]}}