NULL Pointer Dereference Affecting jerryscript-project/jerryscript package, versions [,1.0]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-JERRYSCRIPTPROJECTJERRYSCRIPT-2367165
  • published26 Jan 2022
  • disclosed28 May 2017
  • creditUnknown

Introduced: 28 May 2017

CVE-2017-9250  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

There is no fixed version for jerryscript-project/jerryscript.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference. The lexer_process_char_literal function in jerry-core/parser/js/js-lexer.c in JerryScript 1.0 does not skip memory allocation for empty strings, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via malformed JavaScript source code, related to the jmem_heap_free_block function.

CVSS Scores

version 3.1