bmoor@0.8.10 vulnerabilities

A basic foundation for other libraries, establishing useful patterbs, and letting them be more.

Direct Vulnerabilities

Known vulnerabilities in the bmoor 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
  • H
Prototype Pollution

bmoor is an A basic foundation for other libraries, establishing useful patterbs, and letting them be more.

Affected versions of this package are vulnerable to Prototype Pollution due to missing sanitization in set function.

Note: This vulnerability derives from an incomplete fix in CVE-2020-7736

POC:

const bmoor = require("bmoor");
bmoor.set({}, [["__proto__"], "polluted"], "polluted");
console.log({}.polluted)

How to fix Prototype Pollution?

Upgrade bmoor to version 0.10.1 or higher.

<0.10.1
  • H
Prototype Pollution

bmoor is an A basic foundation for other libraries, establishing useful patterbs, and letting them be more.

Affected versions of this package are vulnerable to Prototype Pollution via the set function.

POC:

const bmoor = require('bmoor');
bmoor.set({}, ""__proto__.polluted"", true);
console.log(polluted);

How to fix Prototype Pollution?

Upgrade bmoor to version 0.8.12 or higher.

<0.8.12