#VU57215 Prototype pollution in immer


Published: 2021-10-11

Vulnerability identifier: #VU57215

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-3757, CVE-2020-28477

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
immer
Web applications / JS libraries

Vendor: immer

Description

The vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to improper input validation. A remote attacker can send a specially crafted request to the application and perform prototype pollution.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

immer: 0.0.4 - 8.0.0


External links
http://github.com/immerjs/immer/blob/master/src/plugins/patches.ts%23L213
http://huntr.dev/bounties/23d38099-71cd-42ed-a77a-71e68094adfa/
http://github.com/immerjs/immer/releases/tag/v8.0.1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability