Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

[Bug] Critical vulnerability in due to outdated dependency git-url-parse #124

Closed
siminino opened this issue Jul 15, 2022 · 6 comments · Fixed by #127
Closed

[Bug] Critical vulnerability in due to outdated dependency git-url-parse #124

siminino opened this issue Jul 15, 2022 · 6 comments · Fixed by #127
Labels

Comments

@siminino
Copy link

Describe the bug

Critical vulnerability related to git-url-parse sub dependency parse-url. It is not possible to fix it in my projects by yarn resolutions since is related to major version upgrades containing Breaking Changes. To fix it, git-url-parse must be upgraded to version 12.

Obs: also high and moderate vulnerabilities are going to be fixed by this dependency upgrade.

Steps to reproduce the behaviour

  1. clone repo;
  2. run yarn;
  3. run yarn audit;

Expected behaviour

No critical and high vulnerabilities.

Screenshots and/or logs

Screenshot 2022-07-15 at 12 20 05

Screenshot 2022-07-15 at 12 29 00

Environment

  • Node.js version: v16.13.1
  • NPM version: 8.1.2
@cysp
Copy link

cysp commented Oct 18, 2022

Great to see that this dependency update was merged a few weeks ago! 👏
@jimmyandrade is there an upcoming release scheduled that will include that change?

@pjaws
Copy link

pjaws commented Nov 7, 2022

3 weeks later and still no release... Storybook is currently responsible for every single vulnerability in my project.

@nedredmond
Copy link

@cysp @pjaws it looks like this may have been deployed on NPM but it is not reflected on GitHub:
https://www.npmjs.com/package/@storybook/storybook-deployer

see the thread here:
#127

@pjaws
Copy link

pjaws commented Nov 13, 2022

@nedredmond My apologies, there is a separate vulnerability in parse-url via git-parse-url that is also a SSRF vulnerability. This is fixed in git-url-parse version 13+. I think this might be where the confusion is coming from.

@nedredmond
Copy link

I see. Well, at least the fix for this issue with a bump to v12 was released on NPM. It looks like the GitHub release info on the repo isn't synced. I thought that might have thrown off dependabot. I guess I dismissed that alert too early. 😮‍💨

@nedredmond
Copy link

#131

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging a pull request may close this issue.

4 participants