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.
References
Link | Resource |
---|---|
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 |
Configurations
History
21 Nov 2024, 06:45
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 5.0
v3 : 7.3 |
References | () https://github.com/indexzero/nconf/pull/397 - Issue Tracking, Patch, Third Party Advisory | |
References | () https://github.com/indexzero/nconf/releases/tag/v0.11.4 - Release Notes, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450 - Exploit, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JS-NCONF-2395478 - Exploit, Third Party Advisory |
Information
Published : 2022-04-12 16:15
Updated : 2024-11-21 06:45
NVD link : CVE-2022-21803
Mitre link : CVE-2022-21803
CVE.ORG link : CVE-2022-21803
JSON object : View
Products Affected
nconf_project
- nconf
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')