GHSA-6xwr-q98w-rvg7
Prototype Pollution in nconf
At a glance
- Published
- Updated
- CVE
- CVE-2022-21803
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Description
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.
Affected packages
| Package | Versions |
|---|---|
| npm · nconf | introduced 0, fixed 0.11.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-21803 ADVISORY
- https://github.com/indexzero/nconf/pull/397 WEB
- https://github.com/indexzero/nconf PACKAGE
- https://github.com/indexzero/nconf/releases/tag/v0.11.4 WEB
- https://snyk.io/vuln/SNYK-JS-NCONF-2395478 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |