nconf@0.6.7 vulnerabilities

Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.

Direct Vulnerabilities

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

nconf is a Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.

Affected versions of this package are vulnerable to Prototype Pollution. When using the memory engine, it is possible to store a nested JSON representation of the configuration. The .set() function, that is responsible for setting the configuration properties, is vulnerable to Prototype Pollution. By providing a crafted property, it is possible to modify the properties on the Object.prototype.

How to fix Prototype Pollution?

Upgrade nconf to version 0.11.4 or higher.

<0.11.4