CVE-2022-21803: Prototype Pollution

Published 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.

Other sources

Node.js nconf module could allow a remote attacker to execute arbitrary code on the system, caused by a prototype pollution flaw when using the memory engine. By adding or modifying properties of Object.prototype using a proto or constructor payload, an attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service condition on the system.

IBM

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 Software

4 affected componentsFixes available
redhat/npm-nconf<0.11.4
0.11.4
Nconf Project Nconf Node.js<0.11.4
IBM Cognos Analytics<=11.2.0 - 11.2.2
IBM Cognos Analytics<=11.1.0 - 11.1.6 FP4

Event History

Apr 12, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·03:20 PM
Data Sourced
via MITRE·03:20 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:37 PM
DescriptionSeverityAffected Software
Feb 23, 2026
Data Sourced
via IBM·11:32 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-21803?

CVE-2022-21803 is a vulnerability in the nconf library that could allow a remote attacker to execute arbitrary code on the system.

2

What is the severity of CVE-2022-21803?

The severity of CVE-2022-21803 is high, with a severity score of 7.3.

3

How does CVE-2022-21803 work?

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.

4

Which software is affected by CVE-2022-21803?

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.

5

How can I fix CVE-2022-21803?

To fix CVE-2022-21803, update to npm-nconf version 0.11.4 or apply the necessary patches provided by the respective vendors.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203