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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.08% (37th 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-2367151
  • published26 Jan 2022
  • disclosed20 Aug 2018
  • creditUnknown

Introduced: 20 Aug 2018

CVE-2018-1000636  (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. JerryScript version Tested on commit f86d7459d195c8ba58479d1861b0cc726c8b3793. Analysing history it seems that the issue has been present since commit 64a340ffeb8809b2b66bbe32fd443a8b79fdd860 contains a CWE-476: NULL Pointer Dereference vulnerability in Triggering undefined behavior at jerry-core/ecma/builtin-objects/typedarray/ecma-builtin-typedarray-prototype.c:598 (passing NULL to memcpy as 2nd argument) results in null pointer dereference (segfault) at jerry-core/jmem/jmem-heap.c:463 that can result in Crash due to segmentation fault. This attack appear to be exploitable via The victim must execute specially crafted javascript code. This vulnerability appears to have been fixed in after commit 87897849f6879df10e8ad68a41bf8cf507edf710.

References

CVSS Scores

version 3.1