CVE-2022-21803
JSON

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 packageVersionsReported by
nconffrom unspecified before 0.11.4CVE List
nconf (npm)before 0.11.4GitHub Advisory Database
nconf_project nconfbefore 0.11.4NVD

All scores

snyk7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2022-21803 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-6xwr-q98w-rvg7 changed 2024-05-19CC-BY-4.0
NVDCVE-2022-21803 changed 2026-06-17Public domain