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.
Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.
Link | Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631 | third party advisory patch |
https://github.com/jaredhanson/passport/pull/900 | third party advisory patch |
https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608 | third party advisory patch |