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

Informational advisory for SergioBenitez/Rocket#1312 #320

Merged
merged 2 commits into from
Aug 14, 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
20 changes: 20 additions & 0 deletions crates/rocket/RUSTSEC-0000-0000.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[advisory]
id = "RUSTSEC-0000-0000"
package = "rocket"
date = "2020-05-27"
informational = "unsound"
title = "`LocalRequest::clone` creates multiple mutable references to the same object"
url = "https://github.com/SergioBenitez/Rocket/issues/1312"
description = """
The affected version of `rocket` contains a `Clone` trait implementation of
`LocalRequest` that reuses the pointer to inner `Request` object.
This causes data race in rare combinations of APIs if the original and the
cloned objects are modified at the same time.
"""

[affected]
functions = { "rocket::local::LocalRequest::clone" = ["< 0.4.5, >= 0.4.0"] }

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