GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — refactor: Bump undici from 6.27.0 to 6.29.1 and 7.28.0 to 7.30.1 by mtrezza · Pull Request #947 · parse-community/parse-server-example Conversation
|
| Alert | Severity | Advisory | Vulnerable range |
|---|---|---|---|
| 419 | high | GHSA-4cwx-7wf7-3272 | >= 7.0.0, < 7.29.0 |
| 443 | high | GHSA-w293-vg96-wgc3 | >= 7.24.1, < 7.29.1 |
| 420 | medium | GHSA-8xcm-r25x-g524 | >= 7.0.0, < 7.29.0 |
| 421 | medium | GHSA-v3r7-h72x-cjcm | >= 7.0.0, < 7.29.0 |
| 422 | medium | GHSA-jr45-8vmc-qm54 | >= 7.0.0, < 7.29.0 |
| 423 | medium | GHSA-m8rv-5g2x-5cg5 | >= 7.0.0, < 7.29.0 |
| 440 | medium | GHSA-3wwx-pv8p-q78v | >= 7.28.0, < 7.29.1 |
| 446 | medium | GHSA-3xpg-4rpp-hhhm | >= 7.15.0, < 7.29.1 |
GitHub lists these with runtime scope because they were raised while the production copy under expo-server-sdk was still 7.28.0. Since #946, the only vulnerable 7.x copy left is the development copy under @semantic-release/github.
The development-scope alerts 426 (GHSA-m8rv-5g2x-5cg5), 427 (GHSA-8xcm-r25x-g524) and 428 (GHSA-v3r7-h72x-cjcm), all medium with range < 6.28.0, likely stay open. The root copy moves out of their range to 6.29.1, but the npm-bundled undici 6.27.0 is still in range. They stay open until a newer npm release bundles a patched undici.
private Cache-Control directives could cause cross-user information disclosure in shared caches or a parse-time crashtype property on a blob-like HTTP/1.1 request body could inject CRLF sequences into the content-type header= in qualified no-cache and private directives could bypass shared-cache restrictionsContent-Length after resuming a partial responsedomain and unparsed values passed to setCookie() could inject cookie attributestoString) are now validated after they are coerced to strings, as string values already were. Any character outside tab, 0x20–0x7e and 0x80–0xff throws InvalidArgumentError (fix: validate coerced header values for CRLF nodejs/undici#5579)BalancedPool could drop function-valued connection options, including custom TLS certificate validation callbacksTypeErrorWebSocketStream close could create an unobserved rejected promiseSet-CookiemaxSize option and limited each decompression stage to 64 MiB by default. 7.30.0 reverted that default (see below)headersTimeout (fix(h2): honour headersTimeout nodejs/undici#5604)setImmediate ([v7.x] perf(h1): drop idle-socket timer floor with a ref'd setImmediate (#5707) nodejs/undici#5769)RetryHandler honor backpressure ([Backport v7.x] fix: honor backpressure in decompression interceptor nodejs/undici#5837). This replaces the 64 MiB size limit from 7.29.1 and changes the maxSize default back to 0 (no limit). maxSize remains an opt-in per-stage limit, so 7.30.1 applies no default decompression limit, the same as 7.28.0Agent dropped function-valued TLS options such as checkServerIdentitycompose(redirect(), cache())Content-Encoding values could crash the processdecompress interceptor could escape as uncaught exceptionseventSource: { maxEventSize } to configure the EventSource parser limits added for GHSA-4qv8-2p9j-2685. The limits are active by default (buffer.kStringMaxLength), and 0 disables themtype property on a blob-like HTTP/1.1 request body could inject CRLF sequences into the content-type headerContent-Length after resuming a partial responsedomain and unparsed values passed to setCookie() could inject cookie attributestoString) are now validated after they are coerced to strings, as string values already were. Any character outside tab, 0x20–0x7e and 0x80–0xff throws InvalidArgumentError (fix: validate coerced header values for CRLF nodejs/undici#5579)TypeErrorsetImmediate ([v6.x] perf(h1): drop idle-socket timer floor with a ref'd setImmediate (#5707) nodejs/undici#5770)abort() on a completed CONNECT or upgrade request now destroys its socket or HTTP/2 streamAgent dropped function-valued TLS options such as checkServerIdentityContent-Encoding values could crash the processeventSource: { maxEventSize } to configure the EventSource parser limits added for GHSA-4qv8-2p9j-2685. The limits are active by default (buffer.kStringMaxLength), and 0 disables themGenerated with npm update undici --ignore-scripts --package-lock-only (npm 10.9.3). The diff only changes the two undici entries, in both the packages and the lockfileVersion 2 dependencies sections, and adds a license field to both entries.
Difference from the lock file in #941: this lock keeps the optional peer dependencies socks 2.8.7, smart-buffer 4.2.0 and gcp-metadata 7.0.1 (with nested gaxios 7.3.1 and node-fetch 3.3.2) unchanged from master. The Dependabot lock pruned them.
Both target versions declare the same Node engine range as the current versions: >=20.18.1 for 7.x and >=18.17 for 6.x. Both copies are only used by semantic-release plugins, which run in release-automated.yml on Node 22. The CI jobs (Lint, Tests) also run on Node 22.
None
None. The upgrade is a drop-in replacement. The parent packages only use ProxyAgent (both) and fetch with a dispatcher option (@semantic-release/github) from undici. Neither API changed in these releases. The other behavior changes listed above don't affect the parents either:
RetryAgent, so the decompression maxSize and RetryHandler changes don't apply.maxEventSize option don't apply.fetch converts the Octokit request headers to strings through Headers, and ProxyAgent only gets a proxy URI, a pipelining value and a string Basic auth token.Agent and BalancedPool option-preservation fixes don't change their behavior.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Update Undici lockfile records package-lock.json |
The lockfile updates Undici versions, resolved packages, and integrity hashes in the root and @semantic-release/github dependency records. The package entries add the MIT license field. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Possibly related PRs
expo-server-sdk; this PR updates the other Undici lockfile entries.16739No actionable merge-blocking risk was identified in this lockfile-only update.
Explanation
[#941] Requires updating undici 7.28.0 to 7.30.1 and 6.27.0 to 6.29.1 together. The lock-file diff against the merge base confirms both changes. node_modules/@semantic-release/github/node_modules/undici moves to 7.30.1 with the matching integrity hash. node_modules/undici moves to 6.29.1 with its matching integrity hash. Both entries also appear in the lockfileVersion 2 dependencies section with the same versions. The security fixes in those releases apply through the version change. No code change is needed for them, and the PR description states that the parent packages do not use the affected APIs. No coding requirement in #941 depends on more than the version bump. [#5663] is closed and serves as background only. Its __proto__ cookie fix is not a requirement for this PR, so it does not affect this verdict. The diff does not contain automated tests, and #941 does not require any.
Explanation
The diff against the merge base changes only the two undici entries in package-lock.json. Each change sets the version, resolved URL and integrity hash, and adds a license: MIT field. The license additions come from the npm lock-file regeneration and belong to the same two entries. No unrelated package entries change. The diff does not show the optional peer dependency changes that the PR description mentions, so it does not add unexpected changes. The changes match the scope of [#941].
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
Explanation
PASS. The pull request changes only package-lock.json. It replaces the development copies undici 7.28.0 → 7.30.1 and 6.27.0 → 6.29.1 with registry URLs and integrity hashes. No application code or unsafe code pattern is introduced. The production expo-server-sdk copy remains 7.30.1. The bundled npm copy at 6.27.0 is unchanged and therefore is not caused by this pull request.
Comment @coderabbitai help to get the list of available commands.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
🎉 This change has been released in version 3.1.0 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.