fix(deps): pin js-yaml to the GHSA-2883-xcg3-v3hh patched releases - #23
Merged
Merged
Conversation
The Dependency Audit gate on main has failed since the advisory published on 2026-09-08 (run 34827360640: 'Severity: 2 moderate | 4 high (2 ignored)', exit 1). GHSA-2883-xcg3-v3hh (high, js-yaml maxTotalMergeKeys does not limit CPU use for empty merge sources) names 3.15.2 and 4.3.2 as the first patched releases. Both overrides sat exactly one patch below: 3.15.1 and 4.3.1. js-yaml reaches this tree only transitively, through metro/cosmiconfig (962 paths) and @expo/cli/@expo/xcpretty (32 paths), so the overrides are the only place to fix it. Verified locally by reproducing the workflow exactly (@nself stubs, pnpm install --no-frozen-lockfile, pnpm audit --audit-level=high): exit 0, '2 moderate | 2 high (2 ignored)', with js-yaml@3.15.2 and js-yaml@4.3.2 resolved in the store. The two remaining ignored advisories are unchanged and still have no fix: GHSA-w3rx-r6r6-pgpr and GHSA-5p2g-fcmc-qvqq (image-size) both report first_patched_version NONE against <= 2.0.2, which is still npm latest.
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.
Problem
Dependency Auditon main has failed since 2026-09-08 (run 34827360640):The two actionable high findings are both GHSA-2883-xcg3-v3hh — js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources, published 2026-09-08.
>= 3.0.0, < 3.15.23.15.23.15.1>= 4.0.0, < 4.3.24.3.24.3.1Both overrides sat exactly one patch below the fix. js-yaml is only ever transitive here — 962 paths through
metro→cosmiconfig, 32 through@expo/cli→@expo/xcpretty— sopnpm.overridesis the only place it can be fixed.Change
Verification
Reproduced the workflow exactly (@nself stubs,
pnpm install --no-frozen-lockfile,pnpm audit --audit-level=high):Store resolves
js-yaml@3.15.2andjs-yaml@4.3.2.The two ignored advisories are untouched and still unfixed upstream
auditConfig.ignoreCvesis unchanged. Re-checked both today:<= 2.0.2<= 2.0.2image-size@2.0.2is still npmlatest, so there is no published fix to take. Nothing was added to the ignore list in this PR.