Skip to content

Resolve low-hanging CVE Dependabot alerts via dependency bumps (2.19) - #1

Open
angle943 wants to merge 1 commit into
2.19from
fix/cve-2.19-low-hanging-deps
Open

Resolve low-hanging CVE Dependabot alerts via dependency bumps (2.19)#1
angle943 wants to merge 1 commit into
2.19from
fix/cve-2.19-low-hanging-deps

Conversation

@angle943

Copy link
Copy Markdown
Owner

Summary

Resolves the GitHub Dependabot alerts on 2.19 whose patched version is reachable within the existing semver ranges — done by regenerating the affected yarn.lock entries, plus a few targeted resolutions and two direct-dep bumps. ~26 alerts closed.

Each alert was mapped via the GitHub Advisory DB → affected/patched ranges, cross-referenced against the actual yarn.lock, and the patched versions confirmed published on npm.

Upgraded (all ≥ advisory patched version)

Package New version Alerts
lodash / lodash-es 4.18.1 CVE-2026-4800, CVE-2026-2950, CVE-2025-13465
node-forge 1.4.0 CVE-2026-33891/33894/33895/33896
picomatch 2.3.2 CVE-2026-33671, CVE-2026-33672
flatted (3.x) 3.4.2 CVE-2026-33228, CVE-2026-32141
immutable 4.3.8 CVE-2026-29063
minimatch 3.1.5 / 5.1.9 / 9.0.9 CVE-2026-27904/27903/26996
dompurify 3.4.11 GHSA-39q2/cjmm/cj63/h8r8, CVE-2026-0540, CVE-2025-15599
follow-redirects 1.16.0 GHSA-r4q5-vmmm-2653
axios 0.31.1 / 1.18.0 CVE-2026-40175, CVE-2025-62718
brace-expansion 1.1.15 / 2.1.1 CVE-2026-33750
yaml 2.9.0 CVE-2026-33532
bn.js 4.12.3 / 5.2.3 CVE-2026-2739
ajv 6.15.0 / 8.20.0 CVE-2025-69873

Targeted resolutions added

**/lodash: ^4.18.1 · **/@microsoft/tsdoc-config/ajv: ^6.14.0 · **/grunt/minimatch: ^3.1.4
(closes pinned transitive instances that the lockfile regen alone left on vulnerable versions).

Direct-dep bumps

axios ^0.30.0 → ^0.31.0 in @osd/ui-shared-deps and @osd/dev-utils.

Not in scope (separate follow-up PRs — major/breaking)

@hapi/content 5→6 · tar 6→7 · serialize-javascript →7 (×3) · file-type 16→21 (ESM-only) · markdown-it 13→14 · dev-only flatted@2.0.2 via flat-cache (the flatted/cjs subpath was removed in 3.x, so it can't simply be forced).

Not applicable (no action)

hono, @hono/node-server, express-rate-limit are not present in any lockfile; path-to-regexp installed versions (1.9/3.3/6.3) are below the vulnerable >=8.0.0 range.

Verification

  • yarn install --frozen-lockfile passes ("Already up-to-date") → lockfile consistent with all manifests.
  • ⚠️ Final yarn osd bootstrap + lint/tests should be run on a node-18 host/CI (the regeneration was done with a node-22 box since lockfile resolution is node-version-independent).

Resolves ~26 GitHub Dependabot alerts whose patched version is reachable
within the existing semver ranges, by regenerating the affected yarn.lock
entries plus a few targeted resolutions / direct-dep bumps.

Upgraded (all >= advisory patched version):
- lodash / lodash-es -> 4.18.1   (CVE-2026-4800, CVE-2026-2950, CVE-2025-13465)
- node-forge -> 1.4.0            (CVE-2026-33891/33894/33895/33896)
- picomatch -> 2.3.2             (CVE-2026-33671, CVE-2026-33672)
- flatted (3.x) -> 3.4.2         (CVE-2026-33228, CVE-2026-32141)
- immutable -> 4.3.8             (CVE-2026-29063)
- minimatch -> 3.1.5/5.1.9/9.0.9 (CVE-2026-27904/27903/26996)
- dompurify -> 3.4.11            (GHSA-39q2/cjmm/cj63/h8r8, CVE-2026-0540, CVE-2025-15599)
- follow-redirects -> 1.16.0     (GHSA-r4q5-vmmm-2653)
- axios -> 0.31.1 / 1.18.0       (CVE-2026-40175, CVE-2025-62718)
- brace-expansion -> 1.1.15/2.1.1 (CVE-2026-33750)
- yaml -> 2.9.0                  (CVE-2026-33532)
- bn.js -> 4.12.3 / 5.2.3        (CVE-2026-2739)
- ajv -> 6.15.0 / 8.20.0         (CVE-2025-69873)

Targeted resolutions added (close pinned transitive instances):
- **/lodash ^4.18.1, **/@microsoft/tsdoc-config/ajv ^6.14.0, **/grunt/minimatch ^3.1.4

Direct-dep bumps:
- axios ^0.30.0 -> ^0.31.0 in @osd/ui-shared-deps and @osd/dev-utils

Verified with `yarn install --frozen-lockfile` (lockfile consistent).
Note: final `yarn osd bootstrap` + build/tests should run on a node-18 host/CI.

Signed-off-by: Justin Kim <jungkm@amazon.com>
@angle943
angle943 force-pushed the fix/cve-2.19-low-hanging-deps branch from 9d1dd5c to bd73e49 Compare June 18, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant