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

Security Vulnerability - Prototype Pollution in lodash.pick #452

Closed
wilhen01 opened this issue Jan 25, 2024 · 2 comments
Closed

Security Vulnerability - Prototype Pollution in lodash.pick #452

wilhen01 opened this issue Jan 25, 2024 · 2 comments

Comments

@wilhen01
Copy link

From Dependabot:

Versions of lodash prior to 4.17.19 are vulnerable to Prototype Pollution. The functions pick, set, setWith, update, updateWith, and zipObjectDeep allow a malicious user to modify the prototype of Object if the property identifiers are user-supplied. Being affected by this issue requires manipulating objects based on user-provided property values or arrays.

This vulnerability causes the addition or modification of an existing property that will exist on all objects and may lead to Denial of Service or Code Execution under specific circumstances.

I think this means you'll need to bring in lodash rather than lodash.pick since the modularised versions haven't been updated in many years.

commenthol added a commit that referenced this issue Jan 25, 2024
Use of lodash instead of lodash.pick, lodash.omit since the modularised versions
haven't been updated in many years.
@commenthol
Copy link
Owner

Hi @wilhen01 ,
Yes you are right, lodash modularized versions are outdated. PR is on its way.

commenthol added a commit that referenced this issue Jan 25, 2024
fix(#452): replace lodash.pick with lodash
@commenthol
Copy link
Owner

v3.23.6 was published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants