Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Sep 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
passport (source) ^0.4.0 -> ^0.7.0 age adoption passing confidence

GitHub Vulnerability Alerts

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.


Release Notes

jaredhanson/passport (passport)

v0.7.0

Compare Source

Changed
  • Set req.authInfo by default when using the assignProperty option to
    authenticate() middleware. This makes the behavior the same as when not using
    the option, and can be disabled by setting authInfo option to false.

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

Added
  • Informative error message in session strategy if session support is not
    available.
Changed
  • authenticate() middleware, rather than initialize() middleware, extends
    request with login(), logIn(), logout(), logOut(), isAuthenticated(),
    and isUnauthenticated() functions.

v0.5.0

Compare Source

Changed
  • initialize() middleware extends request with login(), logIn(),
    logout(), logOut(), isAuthenticated(), and isUnauthenticated()
    functions.
Removed
  • login(), logIn(), logout(), logOut(), isAuthenticated(), and
    isUnauthenticated() functions no longer added to http.IncomingMessage.prototype.
Fixed
  • userProperty option to initialize() middleware only affects the current
    request, rather than all requests processed via singleton Passport instance,
    eliminating a race condition in situations where initialize() middleware is
    used multiple times in an application with userProperty set to different
    values.

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Dec 3, 2023
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 63a97e0 to ab2563e Compare December 3, 2023 13:22
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Dec 3, 2023
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from ab2563e to a4a0f9f Compare December 3, 2023 15:37
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Jan 4, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from a4a0f9f to 460c00b Compare January 4, 2024 16:12
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Jan 4, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 460c00b to 253ad56 Compare January 4, 2024 18:03
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Jan 9, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 253ad56 to bba9091 Compare January 9, 2024 11:30
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Jan 10, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from bba9091 to dbfc2f7 Compare January 10, 2024 20:53
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Jan 12, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from dbfc2f7 to 68ee2db Compare January 12, 2024 13:59
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Jan 12, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 68ee2db to 2443ad4 Compare January 12, 2024 16:55
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Jan 16, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 2443ad4 to 6054528 Compare January 16, 2024 12:07
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Jan 16, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 6054528 to 0cb5483 Compare January 16, 2024 16:48
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Jan 28, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 0cb5483 to 06b0d3c Compare January 28, 2024 13:46
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Jan 28, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch 2 times, most recently from a4f97f3 to 000ec84 Compare February 4, 2024 11:20
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Feb 4, 2024
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Feb 4, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 000ec84 to 7e85b52 Compare February 4, 2024 12:12
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Feb 25, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 7e85b52 to b17d387 Compare February 25, 2024 09:56
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Feb 25, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from b17d387 to cf37793 Compare February 25, 2024 12:05
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Feb 29, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from cf37793 to 8e62b6f Compare February 29, 2024 10:35
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Feb 29, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 8e62b6f to ec62d3f Compare February 29, 2024 12:14
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from ec62d3f to bb1611a Compare March 12, 2024 11:26
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Mar 12, 2024
@renovate renovate bot changed the title Update dependency passport to ^0.7.0 [SECURITY] Update dependency passport to ^0.6.0 [SECURITY] Mar 12, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from bb1611a to 7b7ee95 Compare March 12, 2024 13:58
@renovate renovate bot changed the title Update dependency passport to ^0.6.0 [SECURITY] Update dependency passport to ^0.7.0 [SECURITY] Mar 20, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 7b7ee95 to 8e3b789 Compare March 20, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant