Skip to content

deps: resolve newly-expanded Dependabot security advisories#143

Merged
laileni-aws merged 1 commit into
aws:mainfrom
laileni-aws:fix/dependabot-expanded-advisories
Jul 16, 2026
Merged

deps: resolve newly-expanded Dependabot security advisories#143
laileni-aws merged 1 commit into
aws:mainfrom
laileni-aws:fix/dependabot-expanded-advisories

Conversation

@laileni-aws

Copy link
Copy Markdown
Contributor

Problem

After the earlier security PRs (#136/#137/#138) merged, several Dependabot
alerts re-surfaced because their advisories were expanded to new version
lines
(or newly published) — re-flagging packages at versions the earlier PRs
didn't target. Example: the uuid advisory added < 11.1.1; yaml added
< 1.10.3; a new koa CVE needs 2.16.4.

Solution

Resolve the 10 cleanly-fixable alerts with the same safe overrides approach,
verified against the current advisory ranges. Root lockfile only; verified
idempotent.

Alert(s) Package Fix Notes
#99, #246 koa 2.16.2 → 2.16.4 new CVE
#214 @tootallnate/once 2.0.1
#170, #20 brace-expansion (1.x) 1.1.13 version-scoped (@1)
#157 yaml 1.10.3 expanded to 1.x line
#131 immutable 4.3.8 expanded to 4.x line
#106 minimatch (5.x) 5.1.8 version-scoped (@5)
#55 diff 4.x→4.0.4, 5.x→5.2.2 version-scoped
#36 glob (10.x) 10.5.0 version-scoped (@10)

Version-scoped overrides (pkg@major) are used where multiple major lines
coexist, so unaffected lines aren't disturbed.

Deferred: uuid (#217, #219, #220)

Not included — these need a major uuid 9 → 11 bump, which is genuinely
risky here:

  • uuid is a direct dependency of the generated src.gen clients (^9.0.1),
    and npm ignores an override on a direct dependency unless the spec matches
    exactly (so it stays 9.0.1).
  • In root, npm won't dedupe the hoisted uuid@9.0.1 shared across older
    @aws-sdk clients via @smithy/middleware-retry (verified with
    --package-lock-only, a real reify, and npm dedupe).
  • A proper fix also touches the generated clients + @types/uuid and needs
    build validation. Left for a dedicated follow-up.

Verification

  • All 10 alerts confirmed RESOLVED by cross-checking installed versions
    against the current (expanded) advisory ranges.
  • Root package-lock.json verified idempotent.

Draft: opened as a draft for CI validation.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

Resolve 10 Dependabot alerts that re-surfaced after their advisories
were expanded to new version lines (or newly published) since the prior
security PRs merged. All verified against the current advisory ranges.

- koa 2.16.2 -> 2.16.4 (aws#99, #246)
- @tootallnate/once -> 2.0.1 (#214)
- brace-expansion (1.x) -> 1.1.13 (#170, aws#20)
- yaml -> 1.10.3 (#157)
- immutable -> 4.3.8 (aws#131)
- minimatch (5.x) -> 5.1.8 (aws#106)
- diff (4.x -> 4.0.4, 5.x -> 5.2.2) (aws#55)
- glob (10.x) -> 10.5.0 (aws#36)

Uses version-scoped overrides (pkg@major) so other coexisting major
lines are untouched. Root lockfile only; verified idempotent.

Deferred: uuid #217/#219/#220 require a major 9->11 bump. uuid is a
direct dependency of the generated src.gen clients, so npm ignores an
override, and npm won't dedupe the hoisted 9.0.1 shared across older
@aws-sdk clients. That needs a dedicated effort (generated client +
@types/uuid updates) and is left for a follow-up.
@laileni-aws
laileni-aws marked this pull request as ready for review July 15, 2026 20:39
@laileni-aws
laileni-aws requested a review from a team as a code owner July 15, 2026 20:39
@laileni-aws
laileni-aws enabled auto-merge (squash) July 16, 2026 17:59
@laileni-aws
laileni-aws merged commit 7ccfb97 into aws:main Jul 16, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants