Advisory

RUSTSEC-2020-0096

Also known as: CVE-2020-36204, GHSA-q9h2-4xhf-23xx

Summary

TreeFocus lacks bounds on its Send and Sync traits

Details

Affected versions of im contains TreeFocus that unconditionally implements Send and Sync.

This allows a data race in safe Rust code if TreeFocus is extracted from Focus type.
Typical users that only use Focus type are not affected.

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-11-09 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

im

crates.io · All systems

Affected

  • introduced 12.0.0, fixed 15.1.0 (semver)

Fixed versions

15.1.0

Fix

  • Fixed version 15.1.0
    cargo update -p im --precise 15.1.0

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