Live threats

All CVEs / Deno

CVE-2024-27934Deno

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
0.4%
probability of exploitation in 30 days · percentile 22
Auth required
Yes
Published
Mar 21, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.36.2 and prior to version 1.40.3, use of inherently unsafe `*const c_void` and `ExternalPointer` leads to use-after-free access of the underlying structure, resulting in arbitrary code execution. Use of inherently unsafe `*const c_void` and `ExternalPointer` leads to use-after-free access of the underlying structure, which is exploitable by an attacker controlling the code executed inside a Deno runtime to obtain arbitrary code execution on the host machine regardless of permissions. This bug is known to be exploitable for both `*const c_void` and `ExternalPointer` implementations. Version 1.40.3 fixes this issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for Deno.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io deno ≥ 1.36.2 < 1.40.3 1.40.3 cargo update -p deno --precise 1.40.3

Per OSV / GitHub Advisories (GHSA-3j27-563v-28wf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
denodeno≥ 1.36.2 < 1.40.3

Official sources

References

Links published by the sources. Open them with care.