Vulnerability Details : CVE-2022-25896
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.
Products affected by CVE-2022-25896
- cpe:2.3:a:passport_project:passport:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25896
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 23 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25896
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:N |
8.6
|
4.9
|
NIST | |
4.8
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
2.2
|
2.5
|
NIST | |
4.8
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L |
2.2
|
2.5
|
Snyk |
CWE ids for CVE-2022-25896
-
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.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-25896
-
https://github.com/jaredhanson/passport/pull/900
Address Session Fixation Concerns by jaredhanson · Pull Request #900 · jaredhanson/passport · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631
Session Fixation in passport | CVE-2022-25896 | SnykPatch;Third Party Advisory
-
https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608
Regenerate session on login. · jaredhanson/passport@7e9b9cf · GitHubPatch;Third Party Advisory
Jump to