mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-31 16:50:28 +01:00
eventio: Input<R>' can send non-Send types to other threads
This commit is contained in:
20
crates/eventio/RUSTSEC-0000-0000.md
Normal file
20
crates/eventio/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,20 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "eventio"
|
||||
date = "2020-12-20"
|
||||
url = "https://github.com/petabi/eventio/issues/33"
|
||||
categories = ["memory-corruption"]
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
```
|
||||
|
||||
# Soundness issue: Input<R> can be misused to create data race to an object
|
||||
|
||||
`Input<R>` implements `Send` without requiring `R: Send`.
|
||||
|
||||
Affected versions of this crate allows users to send non-Send types to other threads,
|
||||
which can lead to undefined behavior such as data race and memory corruption.
|
||||
|
||||
The flaw was corrected in the PR(https://github.com/petabi/eventio/pull/34) by adding `R: Send` bound to the `Send` impl of `Input<R>`.
|
||||
Reference in New Issue
Block a user