Out-of-Bounds Affecting disrustor package, versions *


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.12% (48th 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-DISRUSTOR-1089724
  • published1 Apr 2021
  • disclosed17 Dec 2020
  • creditUnknown

Introduced: 17 Dec 2020

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

How to fix?

There is no fixed version for disrustor.

Overview

disrustor is a port of the LMAX Disruptor to Rust.

Affected versions of this package are vulnerable to Out-of-Bounds. The RingBuffer type retrieves mutable references from the DataProvider in a non-atomic manner, potentially allowing the creation of multiple mutable references. RingBuffer also implements the Send and Sync traits for all types T. This allows undefined behavior from the aliased mutable references as well as data races.

References

CVSS Scores

version 3.1