HIGH
GHSA-h5mp-5q4p-ggf5
Prototype Pollution in lodash.defaultsdeep
Quick fix
GHSA-h5mp-5q4p-ggf5 — lodash.defaultsdeep: upgrade to the fixed version with the command below.
npm install lodash.defaultsdeep@4.6.1Details
Versions of `lodash.defaultsdeep` before 4.6.1 are vulnerable to prototype pollution. The function `mergeWith` may allow a malicious user to modify the prototype of `Object` via `{constructor: {prototype: {...}}}` causing the addition or modification of an existing property that will exist on all objects.
## Recommendation
Update to version 4.6.1 or later.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/lodash.defaultsdeep"]}'