#VU28486 NULL pointer dereference in JerryScript


Published: 2020-06-01 | Updated: 2021-01-22

Vulnerability identifier: #VU28486

Vulnerability risk: Medium

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

CVE-ID: CVE-2020-13649

CWE-ID: CWE-476

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
JerryScript
Web applications / JS libraries

Vendor: JerryScript

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error during certain out-of-memory conditions in the "parser/js/js-scanner.c" file, as demonstrated by a "scanner_reverse_info_list" NULL pointer dereference and a "scanner_scan_all assertion" failure. A remote attacker can perform a denial of service (DoS) attack.

Mitigation
Install update from vendor's website.

Vulnerable software versions

JerryScript: 2.2.0


External links
http://github.com/jerryscript-project/jerryscript/commit/69f8e78c2f8d562bd6d8002b5488f1662ac30d24
http://github.com/jerryscript-project/jerryscript/issues/3786
http://github.com/jerryscript-project/jerryscript/issues/3788


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