fix(deps): pin image-size to 1.2.1 in the react-native e2e app - #747
Merged
Conversation
Closes CVE-2025-71319 (High) reported by Wiz for e2e/react-native/package-lock.json.
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
osm6495
approved these changes
Aug 24, 2026
Vadman97
approved these changes
Aug 25, 2026
kparkinson-ld
approved these changes
Aug 28, 2026
kparkinson-ld
pushed a commit
that referenced
this pull request
Aug 31, 2026
…751) ## Summary Bumps `next` past the Critical [GHSA-2xp9-vwfh-vxw4](https://github.com/advisories/GHSA-2xp9-vwfh-vxw4) / CVE-2026-75604 advisory (Wiz, first detected 2026-08-26). Root `resolutions` only; `yarn.lock` regenerated. - `next` 15.5.22 → **15.5.24** and 16.2.12 → **16.3.3** — patch-level, no major crossing - Both fix versions were published 2026-08-25, i.e. 6 days old, so they are still quarantined by this repo's `npmMinimalAgeGate: 7d`. The gate is resolution-time only, so the committed lockfile pins install cleanly (`yarn install --immutable` is green) and **`.yarnrc.yml` is deliberately left untouched** — no `npmPreapprovedPackages` exemption, no gate lowering. The pins were computed with a local, uncommitted `YARN_NPM_MINIMAL_AGE_GATE=0` override. From 2026-09-01 the versions clear the gate on their own. - Everything else in this run was deferred, not fixed — see below. <details> <summary>Findings: fixed, deferred, and why</summary> ### Fixed | Package | From | To | Severity | Advisory | Source | | --- | --- | --- | --- | --- | --- | | `next` | 15.5.22 | 15.5.24 | Critical | GHSA-2xp9-vwfh-vxw4 / CVE-2026-75604 | Wiz | | `next` | 16.2.12 | 16.3.3 | Critical | GHSA-2xp9-vwfh-vxw4 / CVE-2026-75604 | Wiz | Dependabot's `next` alerts (High/Moderate, 2026-06-18 and 2026-07-23) ask for older patched versions (14.2.3x, 15.0.8, 15.5.16, 15.5.21) and are subsumed by these bumps. ### Deferred — inside the 7-day hold | Package | Current → required | Severity | Oldest first-seen | | --- | --- | --- | --- | | `pacote` | 21.0.0 → 21.5.1 | High | 2026-08-28 (3d) | | `django` (e2e/python) | 5.2.16 → 5.2.17 | High/Moderate | 2026-08-25 (6d) | | `django` (e2e/python) | 6.0.7 → 6.0.8 | Moderate | 2026-08-25 (6d) | ### Deferred — would require a major bump (not permitted; pinning a transitive across a major counts as one) `svelte` 4.2.19 → 5.51.5, `react-router` 6.30.4 → 7.x, `@nestjs/core` 10.4.22 → 11.x, `@opentelemetry/core` 1.30.1 → 2.x, `@angular/*` → 20.3.27, `nanoid` 4.0.2 → 5.x (5.x is ESM-only), `pacote` 20.0.0 → 21.5.1, `uuid` 3.4.0/7.0.3/8.3.2 in `e2e/react-native/package-lock.json` → 11.x, `file-type` 20.4.1 → 21.x, `fast-xml-parser` 4.5.6 → 5.x. ### Deferred — no actionable manifest entry / blocked registry - Java/Gradle toolchain transitives (`bcprov-jdk18on`, `netty-*`, `jackson-*`, `wire-runtime`, `jose4j`, `jdom2`, `grpc-netty`, `commons-io`, `protobuf-java`): pulled in by the Android/Java toolchain, no declared manifest entry to bump. - `e2e/dotnet4/cs/packages.config` OpenTelemetry 1.11 → 1.15: nuget.org is blocked in this environment; Dependabot #513/#509/#496 already cover it. - Root `resolutions` already fix `vite`, `markdown-it`, `image-size`, `@opentelemetry/core`, `uuid` — several Dependabot alerts here lag a scan behind and are already remediated on `main` (`image-size` via merged #747). Nothing was excluded for failing to build. </details> ## How did you test this change? - `node .yarn/releases/yarn-4.13.0.cjs install --immutable` — resolution clean, no lockfile churn, no quarantine error (only the pre-existing `rrvideo` puppeteer postinstall failure, caused by a blocked Chrome CDN in this environment) - `yarn dedupe --check` — no packages can be deduped - `yarn format-check` — clean - `yarn build:sdk` — 20/20 tasks pass - `yarn lint` — 49/49 tasks pass ## Are there any deployment considerations? No. Dependency manifest + lockfile only; no source or published-artifact change. Link to Devin session: https://app.devin.ai/sessions/62467b8f5f3f4b9ab820356b42af5efa Open in Devin Desktop: https://app.devin.ai/desktop/session/62467b8f5f3f4b9ab820356b42af5efa?variant=devin <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Overview** > Addresses **Critical** [GHSA-2xp9-vwfh-vxw4](https://github.com/advisories/GHSA-2xp9-vwfh-vxw4) / CVE-2026-75604 by raising root Yarn **`resolutions`** for `next` and regenerating **`yarn.lock`**. Patched lines are **15.5.22 → 15.5.24** and **16.2.12 → 16.3.3** (no major version jumps). > > The lockfile refresh pulls matching **`@next/env`** / platform **`@next/swc-*`** binaries. For the 16.x line, transitive updates include **`@swc/helpers` 0.5.23**, **`postcss` 8.5.23**, and a broader **`sharp`** range on 15.x (`^0.34.3 || ^0.35.3`) plus **`^0.35.3`** on 16.x. No application or SDK source changes—only how the monorepo pins Next for e2e (`e2e/nextjs`, `e2e/nextjs-ld`) and peers on `@launchdarkly/observability-next`. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 0a7a0cf. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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
Automated dependency-vulnerability remediation run for this repo. Only one finding was actionable this run; everything else was either already remediated on
main, has no fix, or needs a major bump.image-sizeto^1.2.1via npmoverridesin the React Native e2e app, closing a High Wiz finding (CVE-2025-71319) againste2e/react-native/package-lock.jsonyarn.lockwas already onimage-size1.2.1 via rootresolutions, so only the standalone npm lockfile needed the pinmain); the rest require major upgrades or have no patched versionHow did you test this change?
Backend/tooling change, no UI.
npm installin the react-native e2e app resolvesimage-size@1.2.1, and the monorepo yarn install +yarn build:sdkwere unaffected (20/20 packages build).Are there any deployment considerations?
No — the change is limited to an e2e example app's dev dependency tree.
Implementation details
Findings addressed
e2e/react-native)Not addressed (require a major version bump)
nanoid4.0.2 → 5.1.16 (5.x is ESM-only)react-router6.30.4 → 7.18.0;@opentelemetry/core1.30.1 → 2.8.0;svelte4.2.19 → 5.55.7;@nestjs/core10.4.22 → 11.1.18;file-type20.4.1 → 21.3.2;ts-deepmerge2.0.7 → 8.0.0;markdown-it12.3.2 → 14.2.0;fast-xml-parser4.5.6 → 5.7.0;uuid(legacy 3.x/7.x/8.x/9.x copies) → 11.1.1;@angular/*19.2.x → 20.3.27;pytest8.3.5 → 9.0.3bcprov-jdk18on— the only Critical,netty-*,jackson-*,wire-runtime,jose4j,jdom2,grpc-netty,commons-io,protobuf-java): not declared in any manifest here and Maven Central is not reachable from the automation environment.Not addressed (no patched version)
extract-zip,image-sizeCVE-2025-71329/71330 (affect all versions incl. 2.x),@angular/*advisories with no fix,apollo-server-core,react-router-dom6.30.4.Stale alerts (already fixed on
main)vite(6.4.3),next(15.5.22/16.2.12),sqlparse(0.6.0),image-sizein rootyarn.lock(1.2.1),markdown-it14.3.0,@opentelemetry/core2.10.0 — all pinned by rootresolutions/ lockfiles already.Deferred: NuGet OTel bumps in
e2e/dotnet4/cs/packages.configOpenTelemetry.Api/Exporter.OpenTelemetryProtocol1.11.2,Exporter.Zipkin/Extensions.Propagators1.9.0 → 1.15.3 andResources.Azurebeta → 1.15.1-beta.1 are in-major bumps, but nuget.org is not reachable from the automation environment so a restore/build could not be validated; Dependabot PRs #513 / #509 / #496 already target them.Verification
@highlight-run/rrvideopuppeteer postinstall failure (Chrome CDN unreachable)yarn build:sdk✅ 20/20yarn testor CIprettier --check✅ on both changed filesNote: the
Require additional human oversight on bot PRscheck isaction_requiredby design on bot-authored PRs and needs a human approval.Link to Devin session: https://app.devin.ai/sessions/4f3892ef6ba94c30abfeafe43b95a6e9
Note
Overview
Addresses CVE-2025-71319 by forcing transitive
image-sizefrom 1.2.0 → 1.2.1 in the React Native e2e example, which uses its own npm lockfile instead of the monorepo yarn resolutions.Adds an
overridesentry ine2e/react-native/package.jsonand updatespackage-lock.jsonaccordingly. No application source changes.Reviewed by Cursor Bugbot for commit 7870763. Bugbot is set up for automated code reviews on this repo. Configure here.