-
Notifications
You must be signed in to change notification settings - Fork 229
fix: nodejs vulnerabilities #1830
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
base: main
Are you sure you want to change the base?
Conversation
|
Upgrading lerna will indeed fix the vulnerabilities. But I'm wondering why dependabot did not pick this up, as I've seen it propose dependency upgrades for versions that use caret before. How certain are we that this will fix that? Anyways it is a devdependency so I'm not opposed to pinning this one. |
|
@wpessers interesting! You're absolutely right, the issue is that by default devDependencies are >not< updated by dependabot (I've just discovered that I have the same issue in my repo), you can see that dependabot successfully upgraded dependencies but not dev-dependencies. Fortunately, there is an option to fix this and allow dev dependencies upgrade: I'll update the PR |
|
Actually, so far, there were PRs which dependabot updated dev dependencies without having
|
|
ah that's interesting! Let me try to build a simple external repro to see what's happening and iterate with different dependabot config |
|
whoops, I was typing out that review but in the meantime you've already responded to Serkan's comment I see. The thing about the versioning-strategy I linked above may be worth looking into still! |
|
Is this still relevant? |
|
Can we close this PR @maxday ? |
This PR fixes:
GHSA-h5c3-5r3r-rr8qsee: https://osv.dev/vulnerability/GHSA-h5c3-5r3r-rr8q
affected package:
@octokit/plugin-paginate-restGHSA-rmvr-2pp2-xj38https://osv.dev/vulnerability/GHSA-rmvr-2pp2-xj38
affected package:
@octokit/requestGHSA-xx4v-prfh-6cgchttps://osv.dev/vulnerability/GHSA-xx4v-prfh-6cgc
affected package:
@octokit/request-errorBy running npm ls on those three packages, it appears that they're a dependencies of
lernaSee the output of the three commands:
I think dependabot might not being able to bump it because of the caret, this PR, in addition to bump the
lernaversion, removes the carret.Those vulnerabilities are reported here: https://scorecard.dev/viewer/?uri=github.com/open-telemetry/opentelemetry-lambda