Vulnerability CVE-2022-21803


Published: 2022-04-12

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.

Type:

CWE-1321

CVSS2 => (AV:N/AC:L/Au:N/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5/10
2.9/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
Nconf project -> Nconf 

 References:
https://snyk.io/vuln/SNYK-JS-NCONF-2395478
https://github.com/indexzero/nconf/releases/tag/v0.11.4
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450
https://github.com/indexzero/nconf/pull/397

Copyright 2024, cxsecurity.com

 

Back to Top