nconf@0.5.0 vulnerabilities

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

  • latest version

    0.13.0

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    7 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable 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