What is CVE-2021-21413?
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.
The record classifies CVE-2021-21413 under weakness class CWE-913. Its CVSS v3 base vector states that the flaw is reachable from an adjacent network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 2024 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 8 — HIGH
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N - EPSS (FIRST)
- 0.7% probability of exploitation in the next 30 days, higher than 52.5% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 6.1/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2021-03-30, last modified 2024-08-03
Is CVE-2021-21413 being exploited?
It currently carries a trending score of 18 in the Threadlinqs vulnerability feed.
Affected products and versions
- laverdet: isolated-vm
Affected software packages:
npm:isolated-vm— patched in 4.0.0
How to fix CVE-2021-21413
Fixed versions are recorded for 1 package: npm:isolated-vm 4.0.0. No vendor patch reference has been recorded for CVE-2021-21413 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2021-21413
1 tracked threat in the Threadlinqs corpus references CVE-2021-21413, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, FIRST EPSS, GitHub Security Advisories. Last verified by Threadlinqs on .