Out-of-bounds Read in Deno
CVE-2023-28445
Deno is a runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Resizable ArrayBuffers passed to asynchronous functions that are shrunk during the asynchronous operation could result in an out-of-bound read/write. It is unlikely that this has been exploited in the wild, as the only version affected is Deno 1.32.0. Deno Deploy users are not affected. The problem has been resolved by disabling resizable ArrayBuffers temporarily in Deno 1.32.1. Deno 1.32.2 will re-enable resizable ArrayBuffers with a proper fix. As a workaround, run with `--v8-flags=--no-harmony-rab-gsab` to disable resizable ArrayBuffers.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 62.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Deno — versions 1.32.0
- Deno Runtime — versions 0.102.0
- Deno Serde V8 — versions 0.87.0
- Denoland Deno — versions = 1.32.0
Weakness classification (CWE)
References
- https://github.com/denoland/deno/security/advisories/GHSA-c25x-cm9x-qqgx (Mitigation, Vendor Advisory)
- https://github.com/denoland/deno/pull/18395 (Patch, Vendor Advisory)
- https://github.com/denoland/deno/releases/tag/v1.32.1 (Patch, Release Notes)