CVE-2021-21413: isolated-vm - Insecure Deserialization
- Cve: CVE-2021-21413
- Name: isolated-vm - Insecure Deserialization
- 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.
- Impact: Attackers can potentially access native modules, execute arbitrary code, or escalate privileges within the environment.
- Remediation: Update to version 4.0.0 or later to address the security issues.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: information_disclosure, remote_code_execution, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.6
- Cvss vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.00719
- Epss percentile: 0.5462
- Assignee: [email protected]
- Published at: 2021-03-30T23:15:14Z
- Age in days: 2065
- Modified at: 2026-06-17T03:35:31Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21413
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-913 | Improper Control of Dynamically-Managed Code Resources |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/sm1ee/CVE-2021-21413 | poc-in-github | 2026-10-14 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| 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/blob/main/CHANGELOG.md#v400 | Release Notes, Third Party Advisory |
| https://github.com/laverdet/isolated-vm/security/advisories/GHSA-mmhj-4w6j-76h7 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| isolated-vm_project:isolated-vm | < 4.0.0 | no | nvd | /v1/products/isolated-vm_project/isolated-vm |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| laverdet/isolated-vm | commit, fix, security_advisory | yes | /v1/repositories/laverdet/isolated-vm |
Index
- Repositories: 1
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-10-14
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts