Out-of-Bounds Affecting late-static package, versions <0.4.0


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.05% (23rd 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-LATESTATIC-1245059
  • published13 Apr 2021
  • disclosed10 Nov 2020
  • creditUnknown

Introduced: 10 Nov 2020

CVE-2020-36209  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade late-static to version 0.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Affected versions implement Sync for LateStatic with T: Send, so that it is possible to create a data race to a type T: Send + !Sync (e.g. Cell<T>). This can result in a memory corruption or other kinds of undefined behavior.

CVSS Scores

version 3.1