CVE-2021-23436
Security vulnerability in immer
How to Fix This Vulnerability
Upgrade to a fixed version
Remediation Steps
- 1Upgrade the package to version 9.0.6 or later
- 2Review and audit affected systems for potential exploitation
- 3Implement additional security controls if immediate patching is not possible
- 4Monitor for suspicious activity related to this vulnerability
Mitigation Strategies
- Immediate PatchingCritical
Apply security patches to version 9.0.6 immediately
- Network SegmentationHigh
Isolate affected systems from untrusted networks until patching is complete
- Monitoring and DetectionMedium
Implement enhanced monitoring for exploitation attempts and unusual behavior
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.
Impact Assessment
This critical vulnerability poses an immediate and severe threat to system security. Exploitation could lead to complete system compromise, data breach, or denial of service. Immediate action is required.
CVSS v3.1 Metrics Breakdown
- attack Vector
- attack Complexity
- privileges Required
- user Interaction
- scope
- Unchanged
- confidentiality Impact
- High
- integrity Impact
- High
- availability Impact
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HVulnerability Timeline
- 2021-09-02T17:17:37ZVulnerability publishedpublished
- 2021-09-02T17:17:37ZPatches released: 9.0.6patched