Skip to content

deps(snyk): update snyk snapshot#11144

Closed
snyk-bot wants to merge 1 commit into
GoogleChrome:masterfrom
snyk-bot:snyk/vulnerabilities-update-2020-07-22
Closed

deps(snyk): update snyk snapshot#11144
snyk-bot wants to merge 1 commit into
GoogleChrome:masterfrom
snyk-bot:snyk/vulnerabilities-update-2020-07-22

Conversation

@snyk-bot

Copy link
Copy Markdown
Contributor

Why this PR?

a weekly update of the vulnerabilities snapshot for lighthouse

{"id":"SNYK-JS-DOJO-72305","severity":"medium","semver":{"vulnerable":["<1.14"]}},
{"id":"npm:dojo:20180818","severity":"medium","semver":{"vulnerable":["<1.10.10",">=1.11.0 <1.11.6",">=1.12.0 <1.12.4",">=1.13.0 <1.13.1"]}},
{"id":"npm:dojo:20160523","severity":"medium","semver":{"vulnerable":["<1.1.0"]}},
{"id":"npm:dojo:20160523","severity":"medium","semver":{"vulnerable":["<0.0.0"]}},

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now a <0.0.0 along with the noop loadsh change? what is up with you snyk-bot

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya shouldnt this be deleted?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @aviadatsnyk, these seem like potential mistakes?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bump, @aviadatsnyk we got another PR of these noop updates today #11179

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for missing this, @patrickhulce . Usually @lirantal is better than me for these things :)
This is our way of saying it was deemed not a vulnerability, while still letting you know it existed once, instead of just pulling the carpet from under your feet.. This is the equivalent of the empty range, and so no user will ever have this vulnerability "found" in their scan. I'm not sure it makes sense for your usecase, but this is how we do it to support other ones.
Is this a problem?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah gotcha, thanks for the explanations @aviadatsnyk!

These changes all make sense from the perspective of a shared database 👍

<0.0.0 we can filter out on our end in https://github.com/GoogleChrome/lighthouse/blob/master/lighthouse-core/scripts/cleanup-vuln-snapshot.js so that one's not a problem at all.

From the Lighthouse perspective it's unfortunate to invest review attention on PRs with no user-impact, so the <4.17.16 type of change ideally wouldn't trigger the bot and just be lumped in with the next real change. Not sure how we could enforce that though, so I'm fine with this.

],
"lodash":[
{"id":"SNYK-JS-LODASH-567746","severity":"medium","semver":{"vulnerable":["<=4.17.15"]}},
{"id":"SNYK-JS-LODASH-567746","severity":"medium","semver":{"vulnerable":["<4.17.16"]}},

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noop ???? there's no versions between these two https://www.npmjs.com/package/lodash

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @connorjclark - there indeed is no version there, but this has the added bonus of telling a user that a fixed version exists, and even stating it. The old variant would not have told you which version to upgrade to (the next version might have been 5.0.0 for all the the user knows).

@patrickhulce

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants