CVE-2021-23436
CVSS V2 High 7.5
CVSS V3 Critical 9.8
Description
This affects the package immer before 9.0.6. A type confusion vulnerability can lead to a bypass of CVE-2020-28477 when the user-provided keys used in the path parameter are arrays. In particular, this bypass is possible because the condition (p === "__proto__" || p === "constructor") in applyPatches_ returns false if p is ['__proto__'] (or ['constructor']). The === operator (strict equality operator) returns false if the operands have different type.
Overview
- CVE ID
- CVE-2021-23436
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-09-01T18:15:08
- Last Modified Date
- 2021-09-10T13:33:17
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:immer_project:immer:*:*:*:*:*:node.js:*:* | 1 | OR | 9.0.6 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1579266 | Exploit Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-IMMER-1540542 | Exploit Patch Third Party Advisory |
https://github.com/immerjs/immer/commit/fa671e55ee9bd42ae08cc239102b665a23958237 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23436 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23436 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:06:11 | Added to TrackCVE | |||
2022-12-05 09:30:34 | 2021-09-01T18:15Z | 2021-09-01T18:15:08 | CVE Published Date | updated |
2022-12-05 09:30:34 | 2021-09-10T13:33:17 | CVE Modified Date | updated | |
2022-12-05 09:30:34 | Analyzed | Vulnerability Status | updated |