GitHub Advisoryadvisory · crates.io

GHSA-69vj-xx27-g45w Data race in eventio

MEDIUM Published 2021-08-25 Modified 2023-06-13 Official page ↗
Aliases
CVE-2020-36216
Ecosystem
crates.io
Packages
eventio
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-662, CWE-787
Reviewed
2021-08-19

Affected packages

• crates.io eventio: < 0.5.1 → fixed in 0.5.1

Description

Input 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 version 0.5.1 by adding R: Send bound to the Send impl of Input.

Related

Alias · CVE (1)

  • CVE-2020-36216 An issue was discovered in Input<R> in the eventio crate before 0.5.1 for Rust. vulnerability

Weakness · CWE (2)

  • CWE-662 Improper Synchronization weakness
  • CWE-787 Out-of-bounds Write weakness

References