{"id":"CVE-2022-25896","published":"2022-07-01T20:06:04Z","modified":"2024-09-16T17:54:16Z","title":"Session Fixation","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package passport before 0.6.0. When a user logs in or logs out, the session is regenerated instead of being closed.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01134,"percentile":0.6726,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631","tags":["x_refsource_MISC"]},{"url":"https://github.com/jaredhanson/passport/pull/900","tags":["x_refsource_MISC"]},{"url":"https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":13.45},{"name":"CVSS severity","points":3.36}]},"affectedVersions":[{"vendor":"n/a","product":"passport","versions":[">= unspecified, < 0.6.0"]}],"affected":[{"ecosystem":"npm","package":"passport","vulnerableRanges":["<0.6.0"],"patched":["0.6.0"],"from":["GHSA-v923-w3x8-wh69"],"provenance":"source"}],"summary":{"text":"The flaw is a session fixation issue in the passport package, affecting versions before 0.6.0, where the session is regenerated rather than closed when a user logs in or logs out. An attacker with network access can exploit this without authentication or user interaction, though the attack is considered high complexity, and the result is limited loss of confidentiality and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:01Z"},"euvd":{"id":"EUVD-2022-6420","exploited":false,"provenance":"source"}}