CVE-2022-21803Nconf Project Nconf
High 7.5 No auth needed
Follow: this CVE · Nconf Project · Nconf Project Nconf We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Apr 12, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Nconf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | nconf |
< 0.11.4 |
0.11.4 |
npm install nconf@0.11.4 |
Per OSV / GitHub Advisories (GHSA-6xwr-q98w-rvg7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nconf_project | nconf | < 0.11.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory