7.3high
Prototype Pollution
- Severity
- 7.3high CVSS:3.1 by snyk
- Exploit likelihood
- 1.75% (higher than 78% of CVEs)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-6xwr-q98w-rvg7
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nconf | from unspecified before 0.11.4 | CVE List |
| nconf (npm) | before 0.11.4 | GitHub Advisory Database |
| nconf_project nconf | before 0.11.4 | NVD |
All scores
| snyk | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P |
| GitHub | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Esto afecta al paquete nconf versiones anteriores a 0.11.4. Cuando es usado el motor de memoria, es posible almacenar una representación JSON anidada de la configuración. La función .set(), que es encargada de establecer las propiedades de la configuración, es vulnerable a una contaminación de prototipos. Al proporcionar una propiedad diseñada, es posible modificar las propiedades en el Object.prototype
References
| https://snyk.io/vuln/SNYK-JS-NCONF-2395478 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450 | exploit, third-party-advisory | |
| https://github.com/indexzero/nconf/pull/397 | issue-tracking, patch, third-party-advisory, web | |
| https://github.com/indexzero/nconf/releases/tag/v0.11.4 | release-notes, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-21803 | advisory | |
| https://github.com/indexzero/nconf | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-21803 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6xwr-q98w-rvg7 changed 2024-05-19 | CC-BY-4.0 |
| NVD | CVE-2022-21803 changed 2026-06-17 | Public domain |