Prototype Pollution in Nconf Project
CVE-2022-21803
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.
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.018 (77.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: 0.000
Affected products
- Nconf Project
- Nconf — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-NCONF-2395478 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450 (Exploit, Third Party Advisory)
- github.com/indexzero/nconf/pull/397 (Patch, Third Party Advisory, Issue Tracking)
- github.com/indexzero/nconf/releases/tag/v0.11.4 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2022-21803?
- CVE-2022-21803 is a high-severity vulnerability in Nconf Project, classified under Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution). CVSS score: 7.3/10. Published 2022-04-12.
- How severe is CVE-2022-21803?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2022-21803 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.