CVE-2022-21803

Prototype Pollution

Published Apr 12, 2022 CVSS 3.1 · 7.3 High EPSS 1.8% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1659 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.
Github GHSA Github GHSA GHSA-6xwr-q98w-rvg7 Prototype Pollution in nconf
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00113}

epss

{'score': 0.00119}

Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.4::el8
cpe:/a:redhat:acm:2.5::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.4::el8
cpe:/a:redhat:acm:2.5::el8
Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 4:53 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Apr 12, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:27 AM
Severity
Moderate
Public date
Apr 12, 2022, 12:00 AM