Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security advisory for AtheMathmo/rulinalg#201 #319

Merged
merged 3 commits into from
Jul 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions crates/rulinalg/RUSTSEC-0000-0000.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[advisory]
id = "RUSTSEC-0000-0000"
package = "rulinalg"
date = "2020-02-11"
title = "Lifetime boundary for `raw_slice` and `raw_slice_mut` are incorrect"
url = "https://github.com/AtheMathmo/rulinalg/issues/201"
description = """
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.
"""

[affected]

[affected.functions]
"rulinalg::matrix::RowMut::raw_slice" = [">= 0.4.0"]
"rulinalg::matrix::RowMut::raw_slice_mut" = [">= 0.4.0"]

[versions]
patched = []
unaffected = ["< 0.4.0"]