logo

CVE-2020-36445 convec

Package

Manager: cargo
Name: convec
Vulnerable Version: >=0 <=2.0.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00336 pctl0.55773

Details

Data races in convec Affected versions of this crate unconditionally implement Send/Sync for `ConVec<T>`. This allows users to insert `T` that is not Send or not Sync. This allows users to create data races by using non-Send types like `Arc<Cell<_>>` or `Rc<_>` as `T` in `ConVec<T>`. It is also possible to create data races by using types like `Cell<_>` or `RefCell<_>` as `T` (types that are `Send` but not `Sync`). Such data races can lead to memory corruption.

Metadata

Created: 2021-08-25T20:59:15Z
Modified: 2021-08-24T18:24:04Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-rpxm-vmr7-5f5f/GHSA-rpxm-vmr7-5f5f.json
CWE IDs: ["CWE-119", "CWE-362"]
Alternative ID: GHSA-rpxm-vmr7-5f5f
Finding: F124
Auto approve: 1