Out-of-bounds Write Affecting deno package, versions >=1.32.0 <1.32.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-DENO-3370259
  • published24 Mar 2023
  • disclosed23 Mar 2023
  • creditlucacasonato

Introduced: 23 Mar 2023

CVE-2023-28445  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade deno to version 1.32.1 or higher.

Overview

deno is an a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

Affected versions of this package are vulnerable to Out-of-bounds Write due to improperly handling resizable ArrayBuffer, when passing Resizable ArrayBuffers to asynchronous native functions that are shrunk during the asynchronous operation.

Note: Deno Deploy users are not affected.

The problem has been temporarily resolved by disabling resizable ArrayBuffers in Deno 1.32.1.

Workaround

Users who are unable to upgrade to the fixed version can run with --v8-flags=--no-harmony-rab-gsab to disable resizable ArrayBuffers.

CVSS Scores

version 3.1