Skip to content

Commit 1b673b1

Browse files
authored
Merge pull request #320 from Qwaz/rocket-1312
Informational advisory for rwf2/Rocket#1312
2 parents ee840d4 + f17f554 commit 1b673b1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

crates/rocket/RUSTSEC-0000-0000.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[advisory]
2+
id = "RUSTSEC-0000-0000"
3+
package = "rocket"
4+
date = "2020-05-27"
5+
informational = "unsound"
6+
title = "`LocalRequest::clone` creates multiple mutable references to the same object"
7+
url = "https://github.com/SergioBenitez/Rocket/issues/1312"
8+
description = """
9+
The affected version of `rocket` contains a `Clone` trait implementation of
10+
`LocalRequest` that reuses the pointer to inner `Request` object.
11+
This causes data race in rare combinations of APIs if the original and the
12+
cloned objects are modified at the same time.
13+
"""
14+
15+
[affected]
16+
functions = { "rocket::local::LocalRequest::clone" = ["< 0.4.5, >= 0.4.0"] }
17+
18+
[versions]
19+
patched = [">= 0.4.5"]
20+
unaffected = ["< 0.4.0"]

0 commit comments

Comments
 (0)