Skip to content

fix(deps): update dependency undici to v5.26.2 [security]#1232

Merged
thomasrockhu-codecov merged 1 commit intomainfrom
renovate/npm-undici-vulnerability
Oct 17, 2023
Merged

fix(deps): update dependency undici to v5.26.2 [security]#1232
thomasrockhu-codecov merged 1 commit intomainfrom
renovate/npm-undici-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Oct 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
undici (source) 5.25.4 -> 5.26.2 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

CVE-2023-45143

Impact

Undici clears Authorization headers on cross-origin redirects, but does not clear Cookie headers. By design, cookie headers are forbidden request headers, disallowing them to be set in RequestInit.headers in browser environments. Since Undici handles headers more liberally than the specification, there was a disconnect from the assumptions the spec made, and Undici's implementation of fetch.

As such this may lead to accidental leakage of cookie to a 3rd-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the 3rd party site.

Patches

This was patched in e041de359221ebeae04c469e8aff4145764e6d76, which is included in version 5.26.2.


Release Notes

nodejs/undici (undici)

v5.26.2

Compare Source

Security Release, CVE-2023-45143.

v5.26.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v5.26.0...v5.26.1

v5.26.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.23.4...v5.26.0


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 requested a review from a team as a code owner October 16, 2023 16:29
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability branch from 028ebc5 to 8ec3740 Compare October 16, 2023 16:37
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 16, 2023

Codecov Report

Merging #1232 (b494622) into main (ef6d4d8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1232   +/-   ##
=======================================
  Coverage   92.48%   92.48%           
=======================================
  Files          36       36           
  Lines        1357     1357           
  Branches      273      273           
=======================================
  Hits         1255     1255           
  Misses         70       70           
  Partials       32       32           
Flag Coverage Δ
aarch64 92.48% <ø> (ø)
aarch64-without-git 92.48% <ø> (ø)
alpine 92.48% <ø> (ø)
alpine-proxy 92.48% <ø> (ø)
alpine-without-git 92.48% <ø> (ø)
linux 92.48% <ø> (ø)
linux-without-git 92.48% <ø> (ø)
macos 92.48% <ø> (ø)
macos-without-git 92.48% <ø> (ø)
windows 92.48% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability branch 7 times, most recently from 85961ca to bef1e80 Compare October 17, 2023 00:35
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability branch from bef1e80 to b494622 Compare October 17, 2023 01:38
@thomasrockhu-codecov thomasrockhu-codecov enabled auto-merge (squash) October 17, 2023 01:38
@thomasrockhu-codecov thomasrockhu-codecov merged commit 24772d1 into main Oct 17, 2023
@thomasrockhu-codecov thomasrockhu-codecov deleted the renovate/npm-undici-vulnerability branch October 17, 2023 01:46
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