Advisory

RUSTSEC-2020-0044

Also known as: CVE-2020-35897, GHSA-9cg2-2j2h-59v9

Summary

Unsafe Send implementation in Atom allows data races

Details

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.

Severity

Medium Basis: CVSS v3 score 4.7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2020-09-21 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

atom

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.3.6 (semver)

Fixed versions

0.3.6

Fix

  • Fixed version 0.3.6
    cargo update -p atom --precise 0.3.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences