Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. atom
  4. ›
  5. CVE-2020-35897

CVE-2020-35897: Data races in atom

August 25, 2021 (updated June 13, 2023)

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.

References

  • github.com/advisories/GHSA-9cg2-2j2h-59v9
  • github.com/slide-rs/atom
  • github.com/slide-rs/atom/issues/13
  • nvd.nist.gov/vuln/detail/CVE-2020-35897
  • rustsec.org/advisories/RUSTSEC-2020-0044.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35897 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.6

Fixed versions

  • 0.3.6

Solution

Upgrade to version 0.3.6 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/atom/CVE-2020-35897.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.