Advisory

GHSA-6xwr-q98w-rvg7

Also known as: CVE-2022-21803

Summary

Prototype Pollution in nconf

Details

nconf before 0.11.4. 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-04-13 00:00 UTC
Modified
2024-05-19 02:24 UTC

Affected packages and fixes

nconf

npm · All systems

Affected

  • introduced 0, fixed 0.11.4 (semver)

Fixed versions

0.11.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences