Lucene search

K
githubGitHub Advisory DatabaseGHSA-C25X-CM9X-QQGX
HistoryMar 23, 2023 - 11:13 p.m.

Deno improperly handles resizable ArrayBuffer

2023-03-2323:13:25
CWE-125
CWE-787
GitHub Advisory Database
github.com
10
deno
vulnerability
arraybuffer
asynchronous
native functions
out-of-bound
read/write
patch
workarounds
deno 1.32.0
deno 1.32.1
deno deploy

9.9 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

0.001 Low

EPSS

Percentile

50.0%

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.

Affected configurations

Vulners
Node
denodeno_runtimeMatch0.102.0rust
OR
denoserde_v8Match0.87.0rust
OR
denodenoMatch1.32.0

9.9 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

0.001 Low

EPSS

Percentile

50.0%

Related for GHSA-C25X-CM9X-QQGX