Advisory

GHSA-c25x-cm9x-qqgx

Also known as: CVE-2023-28445

Summary

Deno improperly handles resizable ArrayBuffer

Details

Impact

Resizable ArrayBuffers passed to asynchronous native 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.

Patches

The problem has been resolved by disabling resizable ArrayBuffers temporarily in Deno 1.32.1. A future version of Deno will re-enable resizable ArrayBuffers with a proper fix.

Workarounds

Upgrade to Deno 1.32.1, or run with --v8-flags=--no-harmony-rab-gsab to disable resizable ArrayBuffers.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-03-23 23:13 UTC
Modified
2023-11-08 04:12 UTC

Affected packages and fixes

Deno

crates.io · All systems

Affected

  • introduced 1.32.0, fixed 1.32.1 (semver)

Fixed versions

1.32.1

Fix

  • Fixed version 1.32.1
    cargo update -p Deno --precise 1.32.1

serde_v8

crates.io · All systems

Affected

  • introduced 0.87.0, fixed 0.88.0 (semver)

Fixed versions

0.88.0

Fix

  • Fixed version 0.88.0
    cargo update -p serde_v8 --precise 0.88.0

deno_runtime

crates.io · All systems

Affected

  • introduced 0.102.0, fixed 0.103.0 (semver)

Fixed versions

0.103.0

Fix

  • Fixed version 0.103.0
    cargo update -p deno_runtime --precise 0.103.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences