HistoryEdit

RUSTSEC-2020-0139

dces' World type can cause data races

Issued
Package
dces (crates.io)
Type
Vulnerability
Categories
Keywords
#concurrency
Aliases
Details
https://gitlab.redox-os.org/redox-os/dces-rust/-/issues/8
CVSS Score
8.1 HIGH
CVSS Details
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Patched
no patched versions
Keywords
#concurrency

Description

The World type in dces is marked as Send without bounds on its EntityStore and ComponentStore.

This allows non-thread safe EntityStore and ComponentStores to be sent across threads and cause data races.