Out-of-bounds Write Affecting syncpool package, versions <0.1.6


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.32% (71st 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-SYNCPOOL-1537644
  • published9 Aug 2021
  • disclosed8 Aug 2021
  • creditUnknown

Introduced: 8 Aug 2021

CVE-2020-36462  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade syncpool to version 0.1.6 or higher.

Overview

syncpool is an A thread-friendly library for recycle of heavy and heap-based objects to reduce allocation and memory pressure.

Affected versions of this package are vulnerable to Out-of-bounds Write. It unconditionally implements Send for Bucket2. This allows sending non-Send types to other threads. This can lead to data races when non Send types like Cell<T> or Rc<T> are contained inside Bucket2 and sent across thread boundaries.

CVSS Scores

version 3.1