GitHub Advisoryadvisory · crates.io

GHSA-9cg2-2j2h-59v9 Data races in atom

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

Affected packages

• crates.io atom: < 0.3.6 → fixed in 0.3.6

Description

The atom crate contains a security issue revolving around its implementation of the Send trait. It incorrectly allows any arbitrary type to be sent across threads potentially leading to use-after-free issues through memory races.

Related

Alias · CVE (1)

  • CVE-2020-35897 An issue was discovered in the atom crate before 0.3.6 for Rust. vulnerability

Weakness · CWE (1)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness

References