🚨 [security] Update undici 4.7.0 → 7.1.0 (major) #279
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Welcome to Depfu 👋
This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.
After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.
Let us know if you have any questions. Thanks so much for giving Depfu a try!
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ undici (4.7.0 → 7.1.0) · Repo
Security Advisories 🚨
🚨 Undici vulnerable to data leak when using response.arrayBuffer()
🚨 Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline
🚨 Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
🚨 Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
🚨 Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline
🚨 fetch(url) leads to a memory leak in undici
🚨 Undici proxy-authorization header not cleared on cross-origin redirect in fetch
🚨 Undici proxy-authorization header not cleared on cross-origin redirect in fetch
🚨 Undici's cookie header not cleared on cross-origin redirect in fetch
🚨 Regular Expression Denial of Service in Headers
🚨 CRLF Injection in Nodejs ‘undici’ via host
🚨 `undici.request` vulnerable to SSRF using absolute URL on `pathname`
🚨 Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Type
🚨 undici before v5.8.0 vulnerable to CRLF injection in request headers
🚨 undici before v5.8.0 vulnerable to uncleared cookies on cross-host / cross-origin redirect
🚨 ProxyAgent vulnerable to MITM
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 10 commits:
Bumped v7.1.0 (#3922)
docs: add advanced usage examples for ProxyAgent (#3906)
Move Tomas to past collaborators (#3909)
build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.7 (#3910)
build(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#3913)
feat: Adjust allowed error codes for detecting node:sqlite (#3900)
feat(interceptors): migrate decorator handler to new hooks (#3905)
fix(#3901): migrate dns interceptor to new hooks (#3903)
test: fix dns interceptor flakiness (#3902)
Mark http/2 support as stable (#3893)
🆕 typescript (added, 5.7.2)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands