Out-of-bounds Write Affecting serde_v8 package, versions <0.88.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.22% (62nd 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-SERDEV8-3370261
  • 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 serde_v8 to version 0.88.0 or higher.

Overview

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