Out-of-Bounds Affecting toolshed package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.21% (60th 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-TOOLSHED-1066256
  • published1 Feb 2021
  • disclosed15 Nov 2020
  • creditUnknown

Introduced: 15 Nov 2020

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

How to fix?

There is no fixed version for toolshed.

Overview

toolshed is a contains an Arena allocator, along with a few common data structures that can be used in tandem with it.

Affected versions of this package are vulnerable to Out-of-Bounds. CopyCell<T> is a Cell-like type that is implemented for any type T that is Copyable. It's Send trait has no bounds on the contained type. As not all Copyable types are thread safe, for example non-mutable references implement the Copy trait, it is possible to send references to types with interior mutability such as Cell across threads and cause data races.

References

CVSS Scores

version 3.1