{"id":"UBUNTU-CVE-2022-25896","details":"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.","modified":"2025-10-24T04:53:33Z","published":"2022-07-01T20:15:00Z","upstream":["CVE-2022-25896"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-25896"},{"type":"REPORT","url":"https://github.com/jaredhanson/passport/pull/900"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631"},{"type":"REPORT","url":"https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-25896"}],"affected":[{"package":{"name":"passportjs","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/passportjs@0.1.17-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.17-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-passport","binary_version":"0.1.17-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25896.json"}},{"package":{"name":"passportjs","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/passportjs@0.1.17-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.17-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-passport","binary_version":"0.1.17-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25896.json"}},{"package":{"name":"passportjs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/passportjs@0.1.17-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.17-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-passport","binary_version":"0.1.17-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25896.json"}},{"package":{"name":"passportjs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/passportjs@0.5.0+~1.0.0-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.1-1","0.5.0+~1.0.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-passport","binary_version":"0.5.0+~1.0.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25896.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}