fix(security): override @tootallnate/once to ^2.0.1 (CVE-2026-3449)#822
Merged
Conversation
Add pnpm override to force @tootallnate/once >=2.0.1, fixing Dependabot alert #160. The vulnerable version (2.0.0) is a transitive dependency via @google-cloud/storage -> teeny-request -> http-proxy-agent@5. The vulnerability causes Promises to hang indefinitely when AbortSignal is used (control-flow leak). Severity: Low (CVSS 3.3).
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.
Summary
Fixes Dependabot alert #160 (CVE-2026-3449, GHSA-vpq2-c234-7xj6).
Problem
@tootallnate/once@2.0.0is vulnerable to Incorrect Control Flow Scoping — Promises hang indefinitely whenAbortSignalis used (control-flow leak). Severity: Low (CVSS 3.3).Dependency chain:
Upgrading
@google-cloud/storagealone doesn't fix this — the latest7.19.0still usesteeny-request@^9.0.0which pulls the same vulnerable chain.Fix
Add a
pnpm.overridesentry for@tootallnate/onceto force^2.0.1(the patched version). This follows the same pattern already used for 8 other transitive dependency overrides in the project. The patched version satisfies the parent's declared range ("2"=>=2.0.0 <3.0.0), so there is no compatibility risk.