Skip to content

fix(deps): pin image-size to 1.2.1 in the react-native e2e app - #747

Merged
osm6495 merged 1 commit into
mainfrom
devin/dep-vulns/2026-08-24-followup
Aug 28, 2026
Merged

fix(deps): pin image-size to 1.2.1 in the react-native e2e app#747
osm6495 merged 1 commit into
mainfrom
devin/dep-vulns/2026-08-24-followup

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

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.

  • Pins image-size to ^1.2.1 via npm overrides in the React Native e2e app, closing a High Wiz finding (CVE-2025-71319) against e2e/react-native/package-lock.json
  • Manifest + lockfile only (3 lockfile lines); no source changes, no major bumps
  • The root yarn.lock was already on image-size 1.2.1 via root resolutions, so only the standalone npm lockfile needed the pin
  • Most open Dependabot alerts for this repo are stale (already fixed by the resolutions on main); the rest require major upgrades or have no patched version

How did you test this change?

Backend/tooling change, no UI. npm install in the react-native e2e app resolves image-size@1.2.1, and the monorepo yarn install + yarn build:sdk were 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

Package Ecosystem Current → Target Severity Age Source(s) Advisory
image-size (in e2e/react-native) npm 1.2.0 → 1.2.1 High ~2.5 months Wiz CVE-2025-71319

Not addressed (require a major version bump)

  • nanoid 4.0.2 → 5.1.16 (5.x is ESM-only)
  • react-router 6.30.4 → 7.18.0; @opentelemetry/core 1.30.1 → 2.8.0; svelte 4.2.19 → 5.55.7; @nestjs/core 10.4.22 → 11.1.18; file-type 20.4.1 → 21.3.2; ts-deepmerge 2.0.7 → 8.0.0; markdown-it 12.3.2 → 14.2.0; fast-xml-parser 4.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; pytest 8.3.5 → 9.0.3
  • Java/Android build-time transitives from the Gradle toolchain (bcprov-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-size CVE-2025-71329/71330 (affect all versions incl. 2.x), @angular/* advisories with no fix, apollo-server-core, react-router-dom 6.30.4.

Stale alerts (already fixed on main)

vite (6.4.3), next (15.5.22/16.2.12), sqlparse (0.6.0), image-size in root yarn.lock (1.2.1), markdown-it 14.3.0, @opentelemetry/core 2.10.0 — all pinned by root resolutions / lockfiles already.

Deferred: NuGet OTel bumps in e2e/dotnet4/cs/packages.config

OpenTelemetry.Api/Exporter.OpenTelemetryProtocol 1.11.2, Exporter.Zipkin/Extensions.Propagators 1.9.0 → 1.15.3 and Resources.Azure beta → 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

  • Install: npm (react-native e2e app) ✅ / yarn (monorepo) ✅ — only the known @highlight-run/rrvideo puppeteer postinstall failure (Chrome CDN unreachable)
  • Build: yarn build:sdk ✅ 20/20
  • Tests: unchanged by this diff; the react-native e2e app is not part of yarn test or CI
  • Lint/format: prettier --check ✅ on both changed files

Note: the Require additional human oversight on bot PRs check is action_required by 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-size from 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 overrides entry in e2e/react-native/package.json and updates package-lock.json accordingly. No application source changes.

Reviewed by Cursor Bugbot for commit 7870763. Bugbot is set up for automated code reviews on this repo. Configure here.

Closes CVE-2025-71319 (High) reported by Wiz for e2e/react-native/package-lock.json.
@devin-ai-integration
devin-ai-integration Bot requested a review from a team as a code owner August 24, 2026 20:19
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot added devin-pr automated-security-deps Automated dependency security remediation labels Aug 24, 2026
@devin-ai-integration
devin-ai-integration Bot requested a review from a team August 24, 2026 20:19
@devin-ai-integration
devin-ai-integration Bot requested a review from a team August 24, 2026 21:21
@osm6495
osm6495 merged commit ddcfece into main Aug 28, 2026
25 checks passed
@osm6495
osm6495 deleted the devin/dep-vulns/2026-08-24-followup branch August 28, 2026 17:18
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-security-deps Automated dependency security remediation devin-pr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants