-
Notifications
You must be signed in to change notification settings - Fork 7.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
Wrong version in lodash.pick vulnerability report CVE-2020-8203 #5809
Comments
Same for |
Okay, as workaround if you are using
The solution above is in case lodash is being referenced as a sub-dependecy. If you are referencing directly any of the affected packages through
or:
|
It's working thank you for npm I just add
in package.json |
- override incorrect lodash.pick vulnerability lodash/lodash#5809
- override incorrect lodash.pick vulnerability lodash/lodash#5809
Do I understand correctly that the workaround for this is to replace |
I'n not complaining; I'm asking for clarification. I'm trying to understand the nature of the problem - and whether the workaround fixes the underlying issue. The reason I ask is that the fix that went into 4.17.19 doesn't actually affect the pick utlilty at all. I don't want to apply a fix if it doesn't actually address the problem. I'm currently trying to see what I can learn from the other fixed modules (e.g. lodash-es). Will update when I have more concrete information. |
@causaly-mark I think this is because the per-method packages are not maintained/released anymore. See this other, similar issue about another method package: #5808 |
So to follow up on my previous comment:
|
Apologies in advance for hopping onto this issue from a few months back. I've noticed a few issues created over the years regarding security alerts in the modularized I'm not sure if this is the right venue for the request, but would it be possible for the Lodash team to mark these modular packages as deprecated in NPM with a message that users should use the NPM |
Closing as nothing actionable on our end I believe. Thanks ya'll for finding workarounds! |
@jdalton I believe we're waiting for action from Lodash - can the Lodash team please mark all of the modular packages as deprecated in NPM? For example, https://www.npmjs.com/package/lodash.pick still shows as non-deprecated despite Lodash no longer maintaining it. That's the source of the confusion 😊 |
The issue is that if I mark them as deprecated they return an exit code 1 for CLI's and that would cause mass disruptions for folks. |
I've seen quite a few build pipelines in GitHub actions that continue with deprecated packages; it might be NPM CLI version dependent but in the versions I've seen it returns exit code 0. For example:
Echoes 0 both times for NPM 10.5.0. I could completely see how it would be a significant pain if an older version of NPM had different behavior though! Just figured I'd double check since I've had a lot of developers stumble over the pain point of these packages. "I have a critical vulnerability and there's no newer version, we'll just have to wait for Lodash to fix the vulnerability one of these years!". Whoops 😎 |
Hi,
It appears that a vulnerability with High severity has been reported with wrong patching version.
Currently latest release is 4.4.0 but for CVE-2020-8203 the patched version is 4.17.19.
For us
pnpm audit
is failing because of thisThe text was updated successfully, but these errors were encountered: