Skip to content
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

NPM Audit Report Vulnerability due to lodash.setwith #849

Closed
andreisaikouski opened this issue Jan 30, 2024 · 7 comments · Fixed by #859
Closed

NPM Audit Report Vulnerability due to lodash.setwith #849

andreisaikouski opened this issue Jan 30, 2024 · 7 comments · Fixed by #859
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@andreisaikouski
Copy link

As per title, npm audit report provides:

lodash.setwith  *
Severity: high
Prototype Pollution in lodash - https://github.com/advisories/GHSA-p6mc-m468-83gw
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/lodash.setwith
  api  >=5.0.0-beta.0
  Depends on vulnerable versions of lodash.setwith
  node_modules/api
@brickfungus
Copy link

I was able to get around it with this lodash/lodash#5809 (comment)
but a fix here would be nice

@andreisaikouski
Copy link
Author

@brickfungus thanks for the recommend. Yeah I did the same, but wanted to raise an issue here as I saw one doesn't exist

@jdleesmiller
Copy link
Contributor

Thank you for merging the PR. Will there be a new release soon that includes the change?

@erunion
Copy link
Member

erunion commented Apr 10, 2024

Hi, sorry for the delay on this one but I've just published v7.0.0-beta.6 to our next channel.

@lpgera
Copy link

lpgera commented Jul 2, 2024

Hey! I totally understand that releasing a stable v7 may take a lot of time, so is there any chance for backporting this security patch and releasing it as v6.1.2? I'd be happy to create a PR if there's support for this and someone creates a v6 branch at e440a28 to serve as a base for it.

@erunion
Copy link
Member

erunion commented Jul 3, 2024

Apologies for dragging ass on this, I've just backported the lodash.<package> -> lodash package migrations that happened #859 down to our v6 series with a new v6.1.2 release on NPM.

v6.1.1...v6.1.2

@lpgera
Copy link

lpgera commented Jul 3, 2024

Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants