Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency passport to v0.6.0 [SECURITY] #969

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
passport (source) 0.5.0 -> 0.6.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.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
    [email protected] or earlier (such as passport-azure-ad), which were
    broken by the removal of private variables in [email protected].

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.

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 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 force-pushed the renovate/npm-passport-vulnerability branch from 844354c to e975614 Compare November 20, 2022 10:50
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from e975614 to 2fbbb34 Compare May 28, 2023 11:54
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 2fbbb34 to c0029f0 Compare February 20, 2024 21:27
@renovate renovate bot changed the title Update dependency passport to v0.6.0 [SECURITY] Update dependency passport to v0.6.0 [SECURITY] - autoclosed Apr 4, 2024
@renovate renovate bot closed this Apr 4, 2024
@renovate renovate bot deleted the renovate/npm-passport-vulnerability branch April 4, 2024 13:54
@renovate renovate bot changed the title Update dependency passport to v0.6.0 [SECURITY] - autoclosed Update dependency passport to v0.6.0 [SECURITY] Apr 4, 2024
@renovate renovate bot reopened this Apr 4, 2024
@renovate renovate bot restored the renovate/npm-passport-vulnerability branch April 4, 2024 17:51
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from c0029f0 to 6765bbc Compare April 4, 2024 17:52
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 6765bbc to 43435a7 Compare May 10, 2024 22:03
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 43435a7 to f914fe5 Compare October 16, 2024 17:39
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.

0 participants