Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. passport
  4. ›
  5. CVE-2022-25896

CVE-2022-25896: Session Fixation

July 1, 2022 (updated July 13, 2022)

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.

References

  • github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608
  • github.com/jaredhanson/passport/pull/900
  • nvd.nist.gov/vuln/detail/CVE-2022-25896
  • snyk.io/vuln/SNYK-JS-PASSPORT-2840631

Code Behaviors & Features

Detect and mitigate CVE-2022-25896 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.0

Fixed versions

  • 0.6.0

Solution

Upgrade to version 0.6.0 or above.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-384: Session Fixation

Source file

npm/passport/CVE-2022-25896.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:16 +0000.