First published: Tue Apr 12 2022(Updated: )
A flaw was found in the nconf library when setting the configuration properties. This flaw allows an attacker to provide a crafted property, leading to prototype object pollution.
Credit: report@snyk.io
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/npm-nconf | <0.11.4 | 0.11.4 |
IBM Cognos Analytics 11.2.x | <=IBM Cognos Analytics 11.2.x | |
IBM Cognos Analytics 11.1.x | <=IBM Cognos Analytics 11.1.x | |
Nconf Project Nconf | <0.11.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2022-21803 is a vulnerability in the nconf library that could allow a remote attacker to execute arbitrary code on the system.
The severity of CVE-2022-21803 is high, with a severity score of 7.3.
CVE-2022-21803 is caused by a prototype pollution flaw when using the memory engine in the Node.js nconf module. By adding or modifying properties of Object.prototype using a __proto__ or constructor payload, an attacker could exploit this vulnerability.
The software affected by CVE-2022-21803 includes the npm-nconf package version 0.11.4, IBM Cognos Analytics 11.2.x, IBM Cognos Analytics 11.1.x, and Nconf Project Nconf up to version 0.11.4.
To fix CVE-2022-21803, update to npm-nconf version 0.11.4 or apply the necessary patches provided by the respective vendors.