CVE-2022-21803
The .set() function, that is responsible for setting the configuration properties, is vulnerable to Prototype Pollution.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.78%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 1.78% probability · 77th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1321
- Affected
- nconf project/nconf
- Source
- report@snyk.io
References
- https://github.com/indexzero/nconf/pull/397Issue Tracking, Patch, Third Party Advisory
- https://github.com/indexzero/nconf/releases/tag/v0.11.4Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NCONF-2395478Exploit, Third Party Advisory
- https://github.com/indexzero/nconf/pull/397Issue Tracking, Patch, Third Party Advisory
- https://github.com/indexzero/nconf/releases/tag/v0.11.4Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NCONF-2395478Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.