🚨 [security] Update undici 4.7.0 → 7.16.0 (major)#228
Closed
depfu[bot] wants to merge 1 commit intomasterfrom
Closed
🚨 [security] Update undici 4.7.0 → 7.16.0 (major)#228depfu[bot] wants to merge 1 commit intomasterfrom
depfu[bot] wants to merge 1 commit intomasterfrom
Conversation
Author
|
Closed in favor of #231. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.16.0) · Repo
Security Advisories 🚨
🚨 undici Denial of Service attack via bad certificate data
🚨 undici Denial of Service attack via bad certificate data
🚨 undici Denial of Service attack via bad certificate data
🚨 Use of Insufficiently Random Values in undici
🚨 Use of Insufficiently Random Values in undici
🚨 Use of Insufficiently Random Values in undici
🚨 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 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 proxy-authorization header not cleared on cross-origin redirect in fetch
🚨 Undici proxy-authorization header not cleared on cross-origin redirect in fetch
🚨 fetch(url) leads to a memory leak in undici
🚨 Undici's cookie header not cleared on cross-origin redirect in fetch
🚨 CRLF Injection in Nodejs ‘undici’ via host
🚨 Regular Expression Denial of Service in Headers
🚨 Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Type
🚨 `undici.request` vulnerable to SSRF using absolute URL on `pathname`
🚨 undici before v5.8.0 vulnerable to uncleared cookies on cross-host / cross-origin redirect
🚨 undici before v5.8.0 vulnerable to CRLF injection in request headers
🚨 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 63 commits:
Bumped v7.16.0 (#4532)fix: make error symbols non enumerable (#4531)Disable SIMD for PPC64 architecture, add UNDICI_NO_WASM_SIMD env to facilitate testing (#4530)example: use metcoders https-pem for the example (#4436)fix: shell command built from environment values (#4392)fix: wpt should use master branch (#4524)refactor: parseHttpDate (#4421)websocket: always emit error event (#4521)fetch: process content-encoding header only if relevant (#4496)wpt: properly handle write permissions errors in wpt-runner setup (#4518)feat: Support for capping the number of origins in Agent (#4365)ci: fine grained test nodejs workflow (#4516)chore: make also cache-tests integrated as a submodule (#4517)change webidl attribute to bitwise flag (#4505)chore: use `[]` instead of new Array(0) (#4435)chore: refactor workflows (#4513)chore: use lowercase filenames (#4514)fix(h2): adjust :scheme on h2 requests (#4454)build(deps): bump codecov/codecov-action from 5.4.3 to 5.5.0 (#4508)build(deps): bump github/codeql-action from 3.29.7 to 3.30.0 (#4510)test: use faketimers for test/client-keep-alive (#4499)fix writing to websocketstream with SharedArrayBuffer/SharedArrayBuffer view (#4504)build(deps): bump actions/dependency-review-action from 4.7.1 to 4.7.3 (#4509)build(deps): bump actions/checkout from 4 to 5 (#4507)test: another try to fix flaky macos and node 20 (#4490)real wpt test server (#4486)webidl: fix existing and add missing buffer source converters (#4503)test (websocket): speed up test/websocket/issue-2679.js (#4501)fix: implement proper stale-while-revalidate behavior per RFC 5861 (#4492)test: skip flaky encoding test on macos and node20 (#4497)fix: remove useless catch in client-h1.js (#4481)test (eventsource): refactor tests for eventsource, speed them up (#4493)test (pool.js): fix flakyness of clientTtl test (#4494)fix: improve validation of IP addresses as trustworthy, correct ipv check (#4489)fix: deflake cache-fastimers-fix.js (#4491)fix: no-referrer-when-downgrade in determineRequestsReferrer should return referrerURL (#4482)test: investigate further macos flakyness (#4468)lint: avoid unintented use of globals in code and tests, improve test for installing/overwriting globals (#4478)chore: pool and dispatcherbase dont need constructor, use no array helper functions (#4477)fix: remove unused ResponseStatusCodeError (#4473)fix: buildAndValidateMockOptions should always get an object passed and always return an object (#4479)chore: FixedQueue does not need special constructor (#4476)chore: call super() after type checks (#4475)feat: make UndiciErrors reliable to instanceof (#4472)eventsource: remove promise for #reconnect method (#4469)fix: avoid instanceof MockNotMatchedError (#4474)fix: catch synchronous errors in request callbacks (#4443)perf (fetch): use less promises for ReadableStream (#4457)test: remove skip checks for existance of global available Blob and File (#4460)test: remove skip check for long-lived-abort-controller test (was flaky 10 months ago) (#4465)perf: avoid intermediate promise on `BodyReadable.dump` (#4459)test: remove obsolete < node v18 test case (#4461)test: investigate macos failing (#4467)test: remove skip check for AbortSignal.timeout, as it exists since node18 (#4464)test: fix IPv6 skip check for test/client.js (#4466)test: cache store tests should properly be skipped (#4463)fix(#4451): implement http2 cookie support (#4453)fetch: remove promise in exported fetch (#4452)perf: make `client.connect()` sync (#4455)fetch: make consumeBody sync (#4449)fix: remove async on `[kClose]` and `[kDestroy]`, only return Promise (#4450)fetch: instantiate readableStream in extractBody with sync methods (#4350)Drop npm token, use OIDC instead (#4447)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