PT-2020-6419 · Unknown · Jerryscript

Published

2020-06-06

·

Updated

2021-06-16

·

CVE-2020-23322

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions JerryScript version 2.2.0
Description The issue is related to an assertion in the parser parse object initializer function in the js-parser-expr.c component of the JerryScript JavaScript engine for the Internet of Things. This assertion is related to the context p->token.type variable, specifically the values LEXER RIGHT BRACE, LEXER ASSIGN, and LEXER COMMA. The vulnerability can be exploited by a remote attacker to cause a denial of service.
Recommendations For JerryScript version 2.2.0, consider disabling the parser parse object initializer function as a temporary workaround until a patch is available. Restrict access to the js-parser-expr.c component to minimize the risk of exploitation. Avoid using the context p->token.type variable in the affected function until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Assertion Failure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-04639
CVE-2020-23322

Affected Products

Jerryscript