Fix security vulnerabilities in transitive dependencies#1723
Closed
cortinico wants to merge 2 commits into
Closed
Conversation
Contributor
|
@cortinico has exported this pull request. If you are a Meta employee, you can view the originating Diff in D107521797. |
eae7dd2 to
3d3abcf
Compare
cortinico
added a commit
to cortinico/metro
that referenced
this pull request
Jun 5, 2026
Summary: Pull Request resolved: react#1723 Refresh yarn.lock to pick up patched versions of vulnerable transitive dependencies. No resolutions needed — existing semver constraints already allow the fix versions. Main (`yarn.lock`): - `tmp` 0.2.3 → 0.2.7 (CVE-2026-44705, path traversal) - `flatted` 3.2.2 → 3.4.2 (unbounded recursion DoS, prototype pollution) - `brace-expansion` 1.1.12 → 1.1.15 (ReDoS) - `picomatch` 2.3.1 → 2.3.2 (CVE-2026-33671, ReDoS; CVE-2026-33672, method injection) Website (`website/yarn.lock`): - `fast-uri` 3.0.6 → 3.1.2 (CVE-2026-6321, path traversal; CVE-2026-6322, host confusion) - `follow-redirects` 1.15.9 → 1.16.0 (GHSA-r4q5-vmmm-2653) - `postcss` 8.5.3 → 8.5.15 (GHSA-qx2v-qp2m-jg93, XSS) - `ws` 7.5.10 → 7.5.11 and 8.18.1 → 8.21.0 (GHSA-58qx-3vcg-4xpx) All bumps are within semver range — patch or minor version updates only. No cross-major overrides. Differential Revision: D107521797
3d3abcf to
df1626a
Compare
Summary: Upgrade `docusaurus/core` and `docusaurus/preset-classic` from 3.6.3 to 3.10.1 in the metro website. This upgrades `webpack-dev-server` from 4.x to 5.x, which eliminates several vulnerable transitive dependencies. Also adds a resolution for `serialize-javascript` to force 7.0.5 (fixes GHSA-5c6j-r48x-rmvq, code injection via RegExp.flags). Key changes from Docusaurus 3.10.1: - `webpack-dev-server` 4.15.2 → 5.2.4 (drops sockjs, http-proxy-middleware) - `serialize-javascript` 6.0.2 → 7.0.5 (via resolution) Differential Revision: D107522586
Summary: Refresh yarn.lock to pick up patched versions of vulnerable transitive dependencies. No resolutions needed — existing semver constraints already allow the fix versions. Main (`yarn.lock`): - `tmp` 0.2.3 → 0.2.7 (CVE-2026-44705, path traversal) - `flatted` 3.2.2 → 3.4.2 (unbounded recursion DoS, prototype pollution) - `brace-expansion` 1.1.12 → 1.1.15 (ReDoS) - `picomatch` 2.3.1 → 2.3.2 (CVE-2026-33671, ReDoS; CVE-2026-33672, method injection) Website (`website/yarn.lock`): - `fast-uri` 3.0.6 → 3.1.2 (CVE-2026-6321, path traversal; CVE-2026-6322, host confusion) - `follow-redirects` 1.15.9 → 1.16.0 (GHSA-r4q5-vmmm-2653) - `postcss` 8.5.3 → 8.5.15 (GHSA-qx2v-qp2m-jg93, XSS) - `ws` 7.5.10 → 7.5.11 and 8.18.1 → 8.21.0 (GHSA-58qx-3vcg-4xpx) All bumps are within semver range — patch or minor version updates only. No cross-major overrides. Reviewed By: GijsWeterings Differential Revision: D107521797
df1626a to
22d8864
Compare
Contributor
|
This pull request has been merged in 85a75c6. |
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.
Summary:
Refresh yarn.lock to pick up patched versions of vulnerable transitive dependencies. No resolutions needed — existing semver constraints already allow the fix versions.
Main (
yarn.lock):tmp0.2.3 → 0.2.7 (CVE-2026-44705, path traversal)flatted3.2.2 → 3.4.2 (unbounded recursion DoS, prototype pollution)brace-expansion1.1.12 → 1.1.15 (ReDoS)picomatch2.3.1 → 2.3.2 (CVE-2026-33671, ReDoS; CVE-2026-33672, method injection)Website (
website/yarn.lock):fast-uri3.0.6 → 3.1.2 (CVE-2026-6321, path traversal; CVE-2026-6322, host confusion)follow-redirects1.15.9 → 1.16.0 (GHSA-r4q5-vmmm-2653)postcss8.5.3 → 8.5.15 (GHSA-qx2v-qp2m-jg93, XSS)ws7.5.10 → 7.5.11 and 8.18.1 → 8.21.0 (GHSA-58qx-3vcg-4xpx)All bumps are within semver range — patch or minor version updates only. No cross-major overrides.
Reviewed By: GijsWeterings
Differential Revision: D107521797