Skip to content

chore(deps): exclude GHSA-w4pp-8pjf-rmxw pacote DoS advisory [cherry-pick to rel/latest] - #9585

Merged
mohammadalfaiyazbitgo merged 1 commit into
rel/latestfrom
mohammadalfaiyaz/WEB-000-osv-pacote-exclusion-rel-latest
Aug 27, 2026
Merged

chore(deps): exclude GHSA-w4pp-8pjf-rmxw pacote DoS advisory [cherry-pick to rel/latest]#9585
mohammadalfaiyazbitgo merged 1 commit into
rel/latestfrom
mohammadalfaiyaz/WEB-000-osv-pacote-exclusion-rel-latest

Conversation

@mohammadalfaiyazbitgo

Copy link
Copy Markdown
Contributor

Cherry-pick of #9584 (already merged to master) into rel/latest — needed to unblock the current SDK release, which was failing the Enforce Vulnerability Severity Threshold gate on a newly published pacote DoS advisory.

Why

A new HIGH-severity advisory, GHSA-w4pp-8pjf-rmxw (CVE-2026-9496, CVSS 7.7), was published against pacote and started blocking release CI.

Why it's safe to exclude

  • pacote only enters our tree transitively via dev/build tooling: lerna (pinned to pacote@21.0.1), @npmcli/arborist, @npmcli/metavuln-calculator, and yeoman-generator.
  • None of these paths feed pacote untrusted/attacker-controlled specs — inputs come only from our own package.json/yarn.lock.
  • Fix only lands in pacote@21.5.1/22.0.0, incompatible with lerna's current pin.
  • Same pattern as existing tar/minimatch dev-tooling exclusions in osv-scanner.toml.

Original PR: #9584 (approved pattern, already reviewed).

TICKET: WEB-000

pacote's addGitSha() has a DoS via malicious spec.rawSpec (CVE-2026-9496,
CVSS 7.7). pacote is only pulled in transitively via dev/build tooling
(lerna pinned to pacote@21.0.1, @npmcli/arborist, yeoman-generator) and
never processes untrusted input - specs come only from our own
package.json/yarn.lock. No fixed pacote version is compatible with
lerna's current pin, so exclude per existing pattern in osv-scanner.toml.

TICKET: WEB-000
(cherry picked from commit 80afcd1)
@mohammadalfaiyazbitgo
mohammadalfaiyazbitgo requested review from a team as code owners August 27, 2026 18:10
@mohammadalfaiyazbitgo
mohammadalfaiyazbitgo merged commit fdc53ae into rel/latest Aug 27, 2026
23 checks passed
@linear-code

linear-code Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

WCN-2483

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.

1 participant