Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rulinalg
  4. ›
  5. CVE-2020-35879

CVE-2020-35879: Data races in rulinalg

August 25, 2021 (updated June 13, 2023)

The affected version of rulinalg 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

  • github.com/AtheMathmo/rulinalg
  • github.com/AtheMathmo/rulinalg/issues/201
  • github.com/advisories/GHSA-q2gj-9r85-p832
  • nvd.nist.gov/vuln/detail/CVE-2020-35879
  • rustsec.org/advisories/RUSTSEC-2020-0023.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35879 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.4.0 up to 0.4.2

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/rulinalg/CVE-2020-35879.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:33 +0000.