Skip to content
This repository was archived by the owner on Jun 17, 2026. It is now read-only.

fix(dependency maintenance): update dependency passport to v0.6.0 [security] - #1225

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-passport-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-passport-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Aug 6, 2024 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
passport (source) 0.5.0 → 0.6.0 age confidence

Passport vulnerable to session regeneration when a users logs in or out

CVE-2022-25896 / GHSA-v923-w3x8-wh69

More information

Details

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.

Severity

  • CVSS Score: 4.8 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

jaredhanson/passport (passport)

v0.6.0

Compare Source

Added
  • authenticate(), req#login, and req#logout accept a
    keepSessionInfo: true option to keep session information after regenerating
    the session.
Changed
  • req#login() and req#logout() regenerate the the session and clear session
    information by default.
  • req#logout() is now an asynchronous function and requires a callback
    function as the last argument.
Security
  • Improved robustness against session fixation attacks in cases where there is
    physical access to the same system or the application is susceptible to
    cross-site scripting (XSS).

v0.5.3

Compare Source

Fixed
  • initialize() middleware extends request with login(), logIn(),
    logout(), logOut(), isAuthenticated(), and isUnauthenticated() functions
    again, reverting change from 0.5.1.

v0.5.2

Compare Source

Fixed
  • Introduced a compatibility layer for strategies that depend directly on
    passport@0.4.x or earlier (such as passport-azure-ad), which were
    broken by the removal of private variables in passport@0.5.1.

v0.5.1

Compare Source

Fixed
  • Introduced a compatibility layer for strategies that depend directly on
    passport@0.4.x or earlier (such as passport-azure-ad), which were
    broken by the removal of private variables in passport@0.5.1.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from MeStrak as a code owner August 6, 2024 06:39
@renovate renovate Bot changed the title fix(dependency maintenance): update dependency passport to v0.6.0 [security] fix(dependency maintenance): update dependency passport to v0.6.0 [security] - autoclosed Dec 8, 2024
@renovate renovate Bot closed this Dec 8, 2024
@renovate
renovate Bot deleted the renovate/npm-passport-vulnerability branch December 8, 2024 18:27
@renovate renovate Bot changed the title fix(dependency maintenance): update dependency passport to v0.6.0 [security] - autoclosed fix(dependency maintenance): update dependency passport to v0.6.0 [security] Dec 8, 2024
@renovate renovate Bot reopened this Dec 8, 2024
@renovate
renovate Bot force-pushed the renovate/npm-passport-vulnerability branch from 486c4a7 to 450bef4 Compare December 8, 2024 22:20
@renovate renovate Bot changed the title fix(dependency maintenance): update dependency passport to v0.6.0 [security] fix(dependency maintenance): update dependency passport to v0.6.0 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title fix(dependency maintenance): update dependency passport to v0.6.0 [security] - autoclosed fix(dependency maintenance): update dependency passport to v0.6.0 [security] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/npm-passport-vulnerability branch from 450bef4 to 97be4c8 Compare April 27, 2026 23:38

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants