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 ~0.6.0 [SECURITY] #24

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 25, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
passport (source) ~0.3.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
    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.

v0.4.1

Compare Source

v0.4.0

Compare Source

v0.3.2

Compare Source

v0.3.1

Compare Source


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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from cb489c3 to ed3f438 Compare November 20, 2022 17:48
@renovate renovate bot changed the title Pin dependency passport to v0.3.2 [SECURITY] Update dependency passport to ~0.6.0 [SECURITY] Nov 20, 2022
@secure-code-warrior-for-github

Micro-Learning Topic: Cross-site scripting (Detected by phrase)

Matched on "cross-site scripting"

What is this? (2min video)

Cross-site scripting vulnerabilities occur when unescaped input is rendered into a page displayed to the user. When HTML or script is included in the input, it will be processed by a user's browser as HTML or script and can alter the appearance of the page or execute malicious scripts in their user context.

Try a challenge in Secure Code Warrior

Helpful references

Micro-Learning Topic: Race condition (Detected by phrase)

Matched on "race condition"

What is this? (2min video)

A race condition is a flaw that produces an unexpected result when the timing of actions impact other actions.

Try a challenge in Secure Code Warrior

1 similar comment
@secure-code-warrior-for-github

Micro-Learning Topic: Cross-site scripting (Detected by phrase)

Matched on "cross-site scripting"

What is this? (2min video)

Cross-site scripting vulnerabilities occur when unescaped input is rendered into a page displayed to the user. When HTML or script is included in the input, it will be processed by a user's browser as HTML or script and can alter the appearance of the page or execute malicious scripts in their user context.

Try a challenge in Secure Code Warrior

Helpful references

Micro-Learning Topic: Race condition (Detected by phrase)

Matched on "race condition"

What is this? (2min video)

A race condition is a flaw that produces an unexpected result when the timing of actions impact other actions.

Try a challenge in Secure Code Warrior

@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 ed3f438 to 05cb669 Compare December 3, 2023 09:36
@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 05cb669 to 3d014c4 Compare December 3, 2023 13:47
@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 2 times, most recently from 861bfd4 to 7b2b686 Compare January 4, 2024 18:08
@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 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 2 times, most recently from b2493b3 to 10c9672 Compare January 9, 2024 17:48
@renovate renovate bot changed the title Update dependency passport to ~0.7.0 [SECURITY] Update dependency passport to ~0.6.0 [SECURITY] Jan 9, 2024
@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 10c9672 to a3fa477 Compare January 16, 2024 11:46
@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 a3fa477 to e2d3108 Compare January 16, 2024 12:58
@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 2 times, most recently from 72b5a1e to 1cea614 Compare January 28, 2024 16:15
@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 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 force-pushed the renovate/npm-passport-vulnerability branch 2 times, most recently from f9e275d to bdd77aa Compare February 4, 2024 12:32
@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 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 bdd77aa to a3c90ea Compare February 25, 2024 11:19
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from a9fa5e1 to 1abc0e0 Compare December 18, 2024 01:10
@renovate renovate bot changed the title Update dependency passport to ~0.6.0 [SECURITY] Update dependency passport to ~0.7.0 [SECURITY] Dec 22, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 1abc0e0 to 2e1b673 Compare December 22, 2024 16:25
@renovate renovate bot changed the title Update dependency passport to ~0.7.0 [SECURITY] Update dependency passport to ~0.6.0 [SECURITY] Dec 22, 2024
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 2e1b673 to 65528bc Compare December 22, 2024 18:45
@renovate renovate bot changed the title Update dependency passport to ~0.6.0 [SECURITY] Update dependency passport to ~0.7.0 [SECURITY] Jan 19, 2025
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 65528bc to 4f013b3 Compare January 19, 2025 02:12
@renovate renovate bot changed the title Update dependency passport to ~0.7.0 [SECURITY] Update dependency passport to ~0.6.0 [SECURITY] Jan 19, 2025
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch 2 times, most recently from a9d499f to 6009a3a Compare January 23, 2025 19:41
@renovate renovate bot changed the title Update dependency passport to ~0.6.0 [SECURITY] Update dependency passport to ~0.7.0 [SECURITY] Jan 23, 2025
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 6009a3a to ef2745c Compare January 23, 2025 23:41
@renovate renovate bot changed the title Update dependency passport to ~0.7.0 [SECURITY] Update dependency passport to ~0.6.0 [SECURITY] Jan 23, 2025
@renovate renovate bot changed the title Update dependency passport to ~0.6.0 [SECURITY] Update dependency passport to ~0.7.0 [SECURITY] Jan 30, 2025
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch 2 times, most recently from c6398fe to 595b439 Compare January 30, 2025 23:14
@renovate renovate bot changed the title Update dependency passport to ~0.7.0 [SECURITY] Update dependency passport to ~0.6.0 [SECURITY] Jan 30, 2025
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 595b439 to e786712 Compare February 9, 2025 16:01
@renovate renovate bot changed the title Update dependency passport to ~0.6.0 [SECURITY] Update dependency passport to ~0.7.0 [SECURITY] Feb 9, 2025
@renovate renovate bot changed the title Update dependency passport to ~0.7.0 [SECURITY] Update dependency passport to ~0.6.0 [SECURITY] Feb 9, 2025
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from e786712 to 4f3325c Compare February 9, 2025 18:53
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 4f3325c to e12e00f Compare March 3, 2025 12:59
@renovate renovate bot changed the title Update dependency passport to ~0.6.0 [SECURITY] Update dependency passport to ~0.7.0 [SECURITY] Mar 3, 2025
@renovate renovate bot changed the title Update dependency passport to ~0.7.0 [SECURITY] Update dependency passport to ~0.6.0 [SECURITY] Mar 3, 2025
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from e12e00f to a414f91 Compare March 3, 2025 18:52
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from a414f91 to 777e5e7 Compare March 11, 2025 16:32
@renovate renovate bot changed the title Update dependency passport to ~0.6.0 [SECURITY] Update dependency passport to ~0.7.0 [SECURITY] Mar 11, 2025
@renovate renovate bot changed the title Update dependency passport to ~0.7.0 [SECURITY] Update dependency passport to ~0.6.0 [SECURITY] Mar 11, 2025
@renovate renovate bot force-pushed the renovate/npm-passport-vulnerability branch from 777e5e7 to ea11976 Compare March 11, 2025 20:36
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