Memory Leak Affecting iotjs package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.11% (46th 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 Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2204-IOTJS-2849615
  • published1 Jun 2022
  • disclosed3 May 2022

Introduced: 3 May 2022

CVE-2021-41959  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 iotjs.

NVD Description

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

JerryScript Git version 14ff5bf does not sufficiently track and release allocated memory via jerry-core/ecma/operations/ecma-regexp-object.c after RegExp, which causes a memory leak.

CVSS Scores

version 3.1