#VU21764 Code Injection in Lodash


Published: 2019-10-14

Vulnerability identifier: #VU21764

Vulnerability risk: Medium

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

CVE-ID: CVE-2019-10744

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Lodash
Web applications / JS libraries

Vendor: Lodash

Description

The vulnerability allows a remote attacker to modify properties on the target system.

The vulnerability exists due to improper input validation in the "defaultsDeep" function. A remote attacker can send a specially crafted request and modify the prototype of "Object" via "{constructor: {prototype: {...}}}" causing the addition or modification of an existing property that will exist on all objects.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

Lodash: 0.1.0 - 4.17.11


External links
http://snyk.io/vuln/SNYK-JS-LODASH-450202


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. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability