CVE-2022-21803
Summary
| CVE | CVE-2022-21803 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-04-12 16:15:00 UTC |
| Updated | 2022-04-20 14:07:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-1321
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Nconf Project | Nconf | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Prototype Pollution in org.webjars.npm:nconf | CVE-2022-21803 | Snyk | MISC | snyk.io | |
| Prototype Pollution in nconf | CVE-2022-21803 | Snyk | MISC | snyk.io | |
| fix(security): prevent prototype pollution in memory store by mhamann · Pull Request #397 · indexzero/nconf · GitHub | MISC | github.com | |
| Release v0.11.4 · indexzero/nconf · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Research Team
There are currently no legacy QID mappings associated with this CVE.