Out-of-bounds read in JerryScript - CVE-2017-18212

 

Out-of-bounds read in JerryScript - CVE-2017-18212

Published: March 1, 2018 / Updated: January 22, 2021


Vulnerability identifier: #VU37482
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-18212
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: JerryScript
Affected software:
JerryScript

Detailed vulnerability description

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

The vulnerability exists due to heap-based buffer over-read in the lit_read_code_unit_from_hex function in lit/lit-char-helpers.c via a RegExp("[x0"); payload. A remote attacker can perform a denial of service attack.


How to mitigate CVE-2017-18212

Install update from vendor's website.

Sources