CVE-2022-21803
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2022-21803
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2022-04-12T16:15:08
- Last Modified Date
- 2022-04-20T14:07:04
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:nconf_project:nconf:*:*:*:*:*:node.js:*:* | 1 | OR | 0.11.4 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-NCONF-2395478 | Exploit Third Party Advisory |
https://github.com/indexzero/nconf/releases/tag/v0.11.4 | Release Notes Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2632450 | Exploit Third Party Advisory |
https://github.com/indexzero/nconf/pull/397 | Issue Tracking Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-21803 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21803 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-20 16:58:38 | Added to TrackCVE |