fix(deps): bump js-yaml to 4.3.2 (GHSA-2883-xcg3-v3hh) - #6161
Open
jaideepp247 wants to merge 1 commit into
Open
jaideepp247 wants to merge 1 commit into
jaideepp247 wants to merge 1 commit into
Conversation
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.
Fixes #6158
js-yamlis pinned to4.3.1, which falls in the range covered by GHSA-2883-xcg3-v3hh (high severity):maxTotalMergeKeysdoes not limit CPU use for empty merge sources. The advisory's first patched release is4.3.2.The published
pm2@7.0.4pinsjs-yamlat exactly4.3.1rather than a semver range, so installs resolve to the affected version and won't pick up4.3.2through a normal update.This bumps the pin to
4.3.2— a patch release within the same major, so there's no API change. PM2 callsyaml.load()inlib/Common.js; that signature and behaviour are unchanged.Opened against
developmentper CONTRIBUTING.md — happy to retarget tomaster, or to take5.4.1instead if you'd prefer the major bump.