fix(deps): clear 24 Dependabot CVE alerts (aws/cdk, docs, examples) - #369
Closed
kylehounslow wants to merge 5 commits into
Closed
fix(deps): clear 24 Dependabot CVE alerts (aws/cdk, docs, examples)#369kylehounslow wants to merge 5 commits into
kylehounslow wants to merge 5 commits into
Conversation
Clears GHSA-4c8g-83qw-93j6/GHSA-v2hh-gcrm-f6hx (fast-uri) and GHSA-g7r4-m6w7-qqqr (esbuild). fast-uri drops out of the tree entirely at aws-cdk-lib 2.262.1. brace-expansion 5.0.6 (GHSA-mh99-v99m-4gvg) stays bundled inside aws-cdk-lib and cannot be overridden from this package; it clears when aws-cdk-lib re-bundles brace-expansion >=5.0.8. Signed-off-by: Kyle Hounslow <kylehounslow@gmail.com>
Clears GHSA-f88m-g3jw-g9cj (sharp) and GHSA-g7r4-m6w7-qqqr (esbuild). Both are transitive under astro/vite, which pin ranges below the patched versions, so the fix is a top-level override. astro build verified: image processing works on sharp 0.35 and all 557 tests pass. astro-7-only CVEs (GHSA-f48w-9m4c-m7f5, GHSA-7pw4-f3q4-r2p2) are left for the tracked astro-7 major-upgrade evaluation. Signed-off-by: Kyle Hounslow <kylehounslow@gmail.com>
….24, esbuild 0.28.1 Clears GHSA-2pvr-wf23-7pc7/GHSA-jrpj-wcv7-9fh9 (astro <6.4.6), GHSA-f88m-g3jw-g9cj (sharp), GHSA-r28c-9q8g-f849 (postcss), and GHSA-g7r4-m6w7-qqqr (esbuild). astro is a direct dep so it moves within ^6; sharp bumped directly with a $sharp override so astro's nested copy resolves to the same 0.35.3; postcss and esbuild are transitive overrides. Full site build verified: 135 pages, mermaid renders, all internal links valid. astro-7-only CVEs left for the astro-7 evaluation. Signed-off-by: Kyle Hounslow <kylehounslow@gmail.com>
…examples Clears GHSA-65pc-fj4g-8rjx (idna, all three uv manifests) and the starlette advisories GHSA-82w8-qh3p-5jfq / GHSA-wqp7-x3pw-xc5r / GHSA-x746-7m8f-x49c / GHSA-86qp-5c8j-p5mr (genai-sdk, weather-agent). weather-agent requires-python was >=3.9 while the genai SDK requires >=3.10, which made any re-lock unsatisfiable; tightened to >=3.10 to match the SDK floor and unblock the resolve. code-assistant uv.lock had a malformed typing-extensions entry (missing source field) that failed to parse on any lock command; regenerated from scratch. All three locks pass uv lock --check. Signed-off-by: Kyle Hounslow <kylehounslow@gmail.com>
Clears GHSA-fx2h-pf6j-xcff / GHSA-v6wh-96g9-6wx3 (vite, range >=7.0.0,<=7.3.4) and GHSA-2p49-hgcm-8545 (svgo, range >=4.0.0,<4.0.2). Both are transitive under astro; installed 7.3.3 / 4.0.1 fell inside the vulnerable ranges despite being on the current major, so the fix is a top-level override. Full site build reverified: 135 pages, links valid. Signed-off-by: Kyle Hounslow <kylehounslow@gmail.com>
kylehounslow
requested review from
anirudha,
goyamegh,
joshuali925,
ps48 and
vamsimanohar
as code owners
July 28, 2026 22:36
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #369 +/- ##
=======================================
Coverage 55.62% 55.62%
=======================================
Files 4 4
Lines 169 169
Branches 47 48 +1
=======================================
Hits 94 94
Misses 74 74
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Collaborator
Author
|
duplicate of #370 |
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.
What
Clears 24 of the 29 open Dependabot alerts remaining after the #357 wave (PRs #358-361). Bumps or overrides the affected dependencies across
aws/cdk,docs,docs/starlight-docs, and the threeexamples/*uv manifests.This branch was rebased onto current main after #367 (astro 6.4.8 -> 7.1.1 in
/docs) merged. That upstream bump cleared the docs astro and docs esbuild alerts on its own, so the count moved from 25/33 at branch time to 24/29 now. The docs change here is reduced to the sharp and esbuild overrides layered on top of astro 7.1.1; astro in/docsis left at main's 7.1.1.Fix
Node packages:
aws/cdk: aws-cdk-lib2.260.0 -> 2.262.1(aws-cdk CLI2.1132 -> 2.1133in lockstep for synth schema compat). Clears fast-uri GHSA-4c8g-83qw-93j6, GHSA-v2hh-gcrm-f6hx (fast-uri drops out of the tree entirely at 2.262.1) and esbuild GHSA-g7r4-m6w7-qqqr via a0.28.1floor.docs: sharp-> 0.35.3(GHSA-f88m-g3jw-g9cj), esbuild-> 0.28.1. Both top-leveloverrideson top of astro 7.1.1 from main.docs/starlight-docs: astro6.3.7 -> 6.4.8(GHSA-2pvr-wf23-7pc7, GHSA-jrpj-wcv7-9fh9), sharp-> 0.35.3(GHSA-f88m-g3jw-g9cj), postcss8.5.15 -> 8.5.24(GHSA-r28c-9q8g-f849), vite7.3.3 -> 7.3.6(GHSA-fx2h-pf6j-xcff, GHSA-v6wh-96g9-6wx3), svgo4.0.1 -> 4.0.2(GHSA-2p49-hgcm-8545), esbuild-> 0.28.1.Python examples (uv manifests):
-> 3.18(GHSA-65pc-fj4g-8rjx) and starlette-> 1.3.1(GHSA-82w8-qh3p-5jfq, GHSA-wqp7-x3pw-xc5r, GHSA-x746-7m8f-x49c, GHSA-86qp-5c8j-p5mr, and GHSA-jp82-jpqv-5vv3 which is patched at 1.3.0) across all three.weather-agentrequires-python tightened3.9 -> 3.10to match the SDK floor and unblock re-lock.code-assistantuv.lock regenerated to repair a malformed typing-extensions entry that failed to parse.Validation
aws/cdk:npm run build(tsc) passes.docs/docs/starlight-docs: lockfiles resolve against manifests; docs lock is coherent with astro 7.1.1 (npm install --package-lock-onlyreports up to date).uv lock --check.Resolved versions on branch: fast-uri gone from the aws/cdk tree; docs astro 7.1.1 + sharp 0.35.3 + esbuild 0.28.1; starlight-docs astro 6.4.8, vite 7.3.6, postcss 8.5.24, svgo 4.0.2, sharp 0.35.3, esbuild 0.28.1; idna 3.18 and starlette 1.3.1 in all three example locks.
Not fixed here (5 alerts)
inBundle: true), so a top-level override cannot reach it. Clears when aws-cdk-lib re-bundles brace-expansion >= 5.0.8. Upstream-gated.