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

Update vulnerable dev dependencies #1

Open
anddoutoi opened this issue Mar 3, 2023 · 0 comments
Open

Update vulnerable dev dependencies #1

anddoutoi opened this issue Mar 3, 2023 · 0 comments
Labels
good first issue Good for newcomers low hanging fruit Minimum effort

Comments

@anddoutoi
Copy link
Member

Issue

I have identified two vulnerable devDependencies that probably can be bumped to the highest major within the current ^ semver range.

@babel/core

Screenshot 2023-03-03 at 22 52 22

https://devhub.checkmarx.com/cve-details/Cxc7705965-e0f0/

semantic-release

Screenshot 2023-03-03 at 22 52 40

https://devhub.checkmarx.com/cve-details/CVE-2022-31051/

Suggestion

Find the highest published version that wouldn't break the current ^ semver and install that version. Useful commands:

Find out:

  • npm view @babel/core
  • npm view @babel/core versions
  • npm view semantic-release
  • npm view semantic-release versions

Fix:

  • npm install --save-dev @babel/[email protected]
  • npm install --save-dev semantic-release@???
@anddoutoi anddoutoi added good first issue Good for newcomers low hanging fruit Minimum effort labels Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers low hanging fruit Minimum effort
Projects
None yet
Development

No branches or pull requests

1 participant