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.CreditsjaredhansonReferenceshttps://snyk.io/vuln/SNYK-JS-PASSPORT-2840631https://github.com/jaredhanson/passport/pull/900https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608