Race Condition Affecting rulinalg package, versions >=0.4.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.87% (83rd 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-RULINALG-575352
  • published6 Jul 2020
  • disclosed6 Jul 2020
  • creditUnknown

Introduced: 6 Jul 2020

CVE-2020-35879  (opens in a new tab)
CWE-706  (opens in a new tab)

How to fix?

There is no fixed version for rulinalg.

Overview

rulinalg is a linear algebra library.

Affected versions of this package are vulnerable to Race Condition. The package has incorrect lifetime boundary definitions for RowMut::raw_slice and RowMut::raw_slice_mut.

They do not conform with Rust's borrowing rule and allows the user to create multiple mutable references to the same location. This may result in unexpected calculation result and data race if both references are used at the same time.

References

CVSS Scores

version 3.1