Out-of-bounds read in JerryScript - CVE-2018-11418

 

Out-of-bounds read in JerryScript - CVE-2018-11418

Published: May 24, 2018 / Updated: January 22, 2021


Vulnerability identifier: #VU37112
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-2018-11418
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_utf8 function via a RegExp("[\u0020") payload, related to re_parse_char_class in parser/regexp/re-parser.c. A remote attacker can perform a denial of service attack.


How to mitigate CVE-2018-11418

Install update from vendor's website.

Sources