#VU16601 Stack-based buffer overflow in Espruino


Published: 2018-12-18 | Updated: 2018-12-18

Vulnerability identifier: #VU16601

Vulnerability risk: Low

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

CVE-ID: CVE-2018-20201

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Espruino
Universal components / Libraries / Scripting languages

Vendor: Pur3 Ltd.

Description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists due to stack-based buffer overflow in the jsfNameFromString function of jsflash.c. A remote attacker can supply a specially crafted js file, trigger memory corruption and cause the service to crash.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Espruino: 2.00


External links
http://github.com/espruino/Espruino/issues/1587


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