{"api_version":"1","generated_at":"2026-07-24T00:32:45+00:00","cve":"CVE-2022-25896","urls":{"html":"https://cve.report/CVE-2022-25896","api":"https://cve.report/api/cve/CVE-2022-25896.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25896","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25896"},"summary":{"title":"CVE-2022-25896","description":"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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-07-01 20:15:00","updated_at":"2022-07-13 16:55:00"},"problem_types":["CWE-384"],"metrics":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Session Fixation in passport | CVE-2022-25896 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/jaredhanson/passport/pull/900","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Address Session Fixation Concerns by jaredhanson · Pull Request #900 · jaredhanson/passport · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Regenerate session on login. · jaredhanson/passport@7e9b9cf · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25896","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25896","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"jaredhanson","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"25896","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"passport_project","cpe5":"passport","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-25896","qid":"184097","title":"Debian Security Update for passportjs (CVE-2022-25896)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-07-01T20:00:14.872984Z","ID":"CVE-2022-25896","STATE":"PUBLIC","TITLE":"Session Fixation"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"passport","version":{"version_data":[{"version_affected":"<","version_value":"0.6.0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Session Fixation"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631","name":"https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631"},{"refsource":"MISC","url":"https://github.com/jaredhanson/passport/pull/900","name":"https://github.com/jaredhanson/passport/pull/900"},{"refsource":"MISC","url":"https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608","name":"https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","baseScore":4.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"LOW"}},"credit":[{"lang":"eng","value":"jaredhanson"}]},"nvd":{"publishedDate":"2022-07-01 20:15:00","lastModifiedDate":"2022-07-13 16:55:00","problem_types":["CWE-384"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.2,"impactScore":2.5},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:passport_project:passport:*:*:*:*:*:node.js:*:*","versionEndExcluding":"0.6.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}