-
Notifications
You must be signed in to change notification settings - Fork 581
Open
Description
Description
The lodash.set dependency used by snapshot.js contains a prototype pollution vulnerability that has not yet been patched.
The potential security risk in the library can be mitigated by either downgrading to a non-vulnerable version, if possible, or removing the dependency altogether and replace the singular call with a custom function.
Details
- Affected Package:
lodash.set - Vulnerability Type: Prototype Pollution
- Current Version: 4.3.2
- Status: Vulnerability not yet patched
- Severity: High
Steps to Reproduce
- Install the current version of snapshot.js.
- Run a vulnerability scan (e.g.,
npm auditoryarn audit). - Observe the reported prototype pollution vulnerability in
lodash.set.
Recommended Actions
- Monitor: Keep an eye on updates to
lodash.setand apply the patch once available. - Downgrade: If a non-vulnerable version that still provides the required functionality exists, consider downgrading to that version (earliest version with the vulnerability is 3.7.0)
- Remove: Evaluate the feasibility of removing the
lodash.setdependency from snapshot.js.
References
allisonle
Metadata
Metadata
Assignees
Labels
No labels