-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Confusing message in dependabot vul. alerts when package-lock.json contain multiple versions of the same dependency #6288
Comments
Hi @nt-gt, we have a couple questions to further investigate this issue:
|
Hi, The repo is hosted on github but it is private, so I am not sure it helps. Do you have a non-public way I can transmit the actual details to you? We do have some unresolved and presumably real dependabot security issues next to this false report. As I understand it, the requested files would expose those details along with the project that contains them. |
In that case, you can open a ticket through support.github.com and include the info about your repository, your manifest files, and that you're using github.com. Our support team will help you investigate the issue. |
Thanks, I have created a ticket now (#1951187). :) |
As clarified in the support ticket, I have two versions of I think the root cause of this issue is that the dependabot security is providing confusing information when this case happens. I think having a "There are multiple versions of this dependency in the .lock file of this project and at least one of these versions are in the range of affected versions" would have prevented me from thinking this was a false-positive. Alternatively, removing the |
@nt-gt Thank you for your feedback 🙇 . We'll make a note of this for future improvements. cc: @jeffwidman |
Thanks @jamestran201 for chiming in here. @nt-gt sorry about this, completely agree it's painful, I know it's on our radar as we do get regular bug reports of this issue/confusion. I should have realized right away that was the underlying issue here, sorry about that. |
Is there an existing issue for this?
Package ecosystem
npm
Package manager version
npm
Language version
node.js
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
Project was using loader-utils/1.4.2 (as the lastest possible version of Dependabot)
Dependabot wanted to upgrade to 2.0.3 due to a vulnerability in 2.0.0
What you expected to see, versus what you actually saw
I got this warning about a vulnerability (see screenshot)
As I read the vulnerability, my project is unaffected and cannot be affected, because it is using a "too old" version to be affected. Therefore, I expected not to get a security vulnerability for issue at this time.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: