CVE-2020-36204: Data races in im
4.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.15388%
CWE
Published
8/25/2021
Updated
5/1/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
im | rust | >= 12.0.0, < 15.1.0 | 15.1.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from TreeFocus's unconditional implementations of Send/Sync traits. The commit diff shows these traits were originally implemented without type bounds (impl<A>), allowing TreeFocus to be sent/shared between threads even when containing non-Send/non-Sync types. This violates Rust's thread safety guarantees and enables data races. The patch adds A: Send/Sync bounds to these trait implementations, confirming these were the vulnerable code points.