CVE-2023-28445 Deno improperly handles resizable ArrayBuffer
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
7 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io deno(crates.io) | = 1.32.0; >= 1.32.0, < 1.32.1 | 1.32.1 | Fixed |
| crates.io deno_runtime(crates.io) | = 0.102.0; >= 0.102.0, < 0.103.0 | 0.103.0 | Fixed |
| crates.io serde_v8(crates.io) | = 0.87.0; >= 0.87.0, < 0.88.0 | 0.88.0 | Fixed |
| deno | = 1.32.0 | No fix listed | Versions listed |
| deno runtime | = 0.102.0 | No fix listed | Versions listed |
| deno serde v8 | = 0.87.0 | No fix listed | Versions listed |
| denoland deno | = = 1.32.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io deno(crates.io) | = 1.32.0 | No fix listed |
| crates.io serde_v8(crates.io) | = 0.87.0 | No fix listed |
| crates.io deno_runtime(crates.io) | = 0.102.0 | No fix listed |
| crates.io deno(crates.io) | >= 1.32.0, < 1.32.1 | 1.32.1 |
| crates.io serde_v8(crates.io) | >= 0.87.0, < 0.88.0 | 0.88.0 |
| crates.io deno_runtime(crates.io) | >= 0.102.0, < 0.103.0 | 0.103.0 |
| denoland deno | = = 1.32.0 | No fix listed |
| deno | = 1.32.0 | No fix listed |
| deno runtime | = 0.102.0 | No fix listed |
| deno serde v8 | = 0.87.0 | No fix listed |
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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com product