Deno improperly handles resizable ArrayBuffer
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Denocrates.io | >= 1.32.0, < 1.32.1 | 1.32.1 |
serde_v8crates.io | >= 0.87.0, < 0.88.0 | 0.88.0 |
deno_runtimecrates.io | >= 0.102.0, < 0.103.0 | 0.103.0 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-c25x-cm9x-qqgxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-28445ghsaADVISORY
- github.com/denoland/deno/pull/18395ghsax_refsource_MISCWEB
- github.com/denoland/deno/pull/18452ghsaWEB
- github.com/denoland/deno/releases/tag/v1.32.1ghsax_refsource_MISCWEB
- github.com/denoland/deno/security/advisories/GHSA-c25x-cm9x-qqgxghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.