bmoor@0.4.9 vulnerabilities

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

  • latest version

    0.11.1

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    2 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the bmoor 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

    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