CVEvulnerability
CVE-2022-21803
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-04-12
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.3 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-1321
Description
This affects the package 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 configurations
• nconf project nconf (< 0.11.4)
Related
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://github.com/indexzero/nconf/pull/397 Issue Tracking, Patch, Third Party Advisory
- https://github.com/indexzero/nconf/releases/tag/v0.11.4 Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NCONF-2395478 Exploit, Third Party Advisory
- https://github.com/indexzero/nconf/pull/397 Issue Tracking, Patch, Third Party Advisory
- https://github.com/indexzero/nconf/releases/tag/v0.11.4 Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NCONF-2395478 Exploit, Third Party Advisory