Security mailing lists by PureSourceCode

CVE-2022-21803

HIGH 7.5CVSS 3.1

Prototype Pollution in nconf

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.

Published
12 Apr 2022
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-1321
Also known as
GHSA-6xwr-q98w-rvg7
Sources
NVDJSONOSV GHSA-6xwr-q98w-rvg7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nconf_project nconf
cpe:2.3:a:nconf_project:nconf:*:*:*:*:*:node.js:*:*
< 0.11.4 0.11.4
OSV npm nconf < 0.11.4 0.11.4

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 12 Apr 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Apr 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.