9.6
CRITICAL
CVE-2021-21413
Isolated-VM Reference Object Prototype Pollution and Native Code Execution
Description

isolated-vm is a library for nodejs which gives you access to v8's Isolate interface. Versions of isolated-vm before v4.0.0 have API pitfalls which may make it easy for implementers to expose supposed secure isolates to the permissions of the main nodejs isolate. Reference objects allow access to the underlying reference's full prototype chain. In an environment where the implementer has exposed a Reference instance to an attacker they would be able to use it to acquire a Reference to the nodejs context's Function object. Similar application-specific attacks could be possible by modifying the local prototype of other API objects. Access to NativeModule objects could allow an attacker to load and run native code from anywhere on the filesystem. If combined with, for example, a file upload API this would allow for arbitrary code execution. This is addressed in v4.0.0 through a series of related changes.

INFO

Published Date :

March 30, 2021, 11:15 p.m.

Last Modified :

April 7, 2021, 2:56 p.m.

Remotely Exploitable :

No

Impact Score :

6.0

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-21413 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Isolated-vm_project isolated-vm
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-21413.

URL Resource
https://github.com/laverdet/isolated-vm/blob/main/CHANGELOG.md#v400 Release Notes Third Party Advisory
https://github.com/laverdet/isolated-vm/commit/2646e6c1558bac66285daeab54c7d490ed332b15 Patch Third Party Advisory
https://github.com/laverdet/isolated-vm/commit/27151bfecc260e96714443613880e3b2e6596704 Patch Third Party Advisory
https://github.com/laverdet/isolated-vm/security/advisories/GHSA-mmhj-4w6j-76h7 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-21413 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-21413 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Apr. 07, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:A/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    Changed Reference Type https://github.com/laverdet/isolated-vm/blob/main/CHANGELOG.md#v400 No Types Assigned https://github.com/laverdet/isolated-vm/blob/main/CHANGELOG.md#v400 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/laverdet/isolated-vm/commit/2646e6c1558bac66285daeab54c7d490ed332b15 No Types Assigned https://github.com/laverdet/isolated-vm/commit/2646e6c1558bac66285daeab54c7d490ed332b15 Patch, Third Party Advisory
    Changed Reference Type https://github.com/laverdet/isolated-vm/commit/27151bfecc260e96714443613880e3b2e6596704 No Types Assigned https://github.com/laverdet/isolated-vm/commit/27151bfecc260e96714443613880e3b2e6596704 Patch, Third Party Advisory
    Changed Reference Type https://github.com/laverdet/isolated-vm/security/advisories/GHSA-mmhj-4w6j-76h7 No Types Assigned https://github.com/laverdet/isolated-vm/security/advisories/GHSA-mmhj-4w6j-76h7 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:isolated-vm_project:isolated-vm:*:*:*:*:*:node.js:*:* versions up to (excluding) 4.0.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-21413 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-21413 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.17 }} -0.02%

score

0.53560

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability