Vulnerability Details : CVE-2022-21803
Potential exploit
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.
Products affected by CVE-2022-21803
- cpe:2.3:a:nconf_project:nconf:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-21803
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 59 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-21803
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST | |
7.3
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
3.9
|
3.4
|
Snyk |
CWE ids for CVE-2022-21803
-
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-21803
-
https://snyk.io/vuln/SNYK-JS-NCONF-2395478
Prototype Pollution in nconf | CVE-2022-21803 | SnykExploit;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450
Prototype Pollution in org.webjars.npm:nconf | CVE-2022-21803 | SnykExploit;Third Party Advisory
-
https://github.com/indexzero/nconf/releases/tag/v0.11.4
Release v0.11.4 · indexzero/nconf · GitHubRelease Notes;Third Party Advisory
-
https://github.com/indexzero/nconf/pull/397
fix(security): prevent prototype pollution in memory store by mhamann · Pull Request #397 · indexzero/nconf · GitHubIssue Tracking;Patch;Third Party Advisory
Jump to