Prototype pollution in immer



| Updated: 2021-10-11
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-3757
CVE-2020-28477
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
immer
Web applications / JS libraries

Vendor immer

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Prototype pollution

EUVDB-ID: #VU57215

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

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

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

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

CPE2.3 External links

https://github.com/immerjs/immer/blob/master/src/plugins/patches.ts%23L213
https://huntr.dev/bounties/23d38099-71cd-42ed-a77a-71e68094adfa/
https://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.



###SIDEBAR###