NULL Pointer Dereference Affecting iotjs package, versions *


Severity

Recommended
low

Based on Debian security rating.

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-DEBIAN10-IOTJS-1050941
  • published14 Dec 2020
  • disclosed20 Aug 2018

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 Debian:10 iotjs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream iotjs package and not the iotjs package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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.