Vulnerability · Published Jul 1, 2022 · Assigned by snyk
CVE-2022-25896Session Fixation
Medium 4.8
In plain English
A medium-severity security flaw in passport. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)1.1%top 33.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | passportjs | 0.6.0+~1.0.0-1 | DEBIAN-CVE-2022-25896 |
| Debian:13 | passportjs | 0.6.0+~1.0.0-1 | DEBIAN-CVE-2022-25896 |
| Debian:14 | passportjs | 0.6.0+~1.0.0-1 | DEBIAN-CVE-2022-25896 |
| Ubuntu:22.04:LTS | passportjs | no fix listed | UBUNTU-CVE-2022-25896 |
| npm | passport | 0.6.0 | GHSA-v923-w3x8-wh69 |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631 x_refsource_MISC
- https://github.com/jaredhanson/passport/pull/900 x_refsource_MISC
- https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608 x_refsource_MISC