fix: address CVEs and cleanup yarn resolutions - #1806
Open
ruanyl wants to merge 2 commits into
Open
Conversation
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
ruanyl
requested review from
AMoo-Miki,
Maosaic,
SuZhou-Joe,
angle943,
ashwin-pc,
d-buckner,
ruchidh and
virajsanghvi
as code owners
July 28, 2026 05:19
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
SuZhou-Joe
approved these changes
Jul 29, 2026
Member
|
Really excited to see we are removing those pinned resolutions. |
angle943
approved these changes
Jul 29, 2026
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
js-yamlfrom3.14.2to3.15.0.react-view’s transitivedifffrom3.5.0to4.0.4.sass-lint-auto-fix’s transitivecookiefrom0.4.1to0.7.2.yarn.lock, removing 45 orphaned resolution-only selectors.Security findings
CVE-2026-59869: addressed byjs-yaml@3.15.0.CVE-2026-24001: addressed bydiff@4.0.4.CVE-2024-47764: addressed bycookie@0.7.2.CVE-2026-53550recommendsjs-yaml@4.2.0, but existingsass-lintandsvgoconsumers depend on the removedsafeLoadAPI. Fully addressing it requires upgrading or replacing those consumers rather than forcing an incompatible major version.Resolution cleanup
Each resolution was removed and regenerated with Yarn in an isolated worktree. All cleanup candidates were then removed together to account for overlapping rules.
The resulting lockfile had no version changes among surviving selectors. Each of the remaining 33 resolutions changes at least one resolved version when removed.
Issues Resolved
Check List
yarn lintyarn test-unitBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.