Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Upgrade semver version to 7.5.2 to fix ReDoS vulnerability #181

Conversation

ziyad-elabid-nw
Copy link

At the moment, normalize-package-data uses version 7.3.5 of semver. The problem arises when launching the command 'yarn audit' due to a vulnerability in regular expression denial of service via the function 'new Range'. You can find more information about this vulnerability in the following reference: GHSA-c2qf-rxjj-qqgw

This pull request (PR) proposes upgrading the semver dependency to version 7.5.2 because it includes the necessary patches for versions greater than or equal to 7.5.2.

@wraithgar
Copy link
Member

This is a module, not an app. There is no package-lock (which would affect local development) or shrinkwrap (which would affect installation of this module). The semver range in the package.json is ^7.3.5 which means folks who are already using it can npm update semver and folks who are installing it for the very first time will get the newest semver already.

@wraithgar wraithgar closed this Jun 26, 2023
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.

None yet

2 participants