CVE-2020-36203 – reffers
Package
Manager: cargo
Name: reffers
Vulnerable Version: >=0 <0.6.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00046 pctl0.13528
Details
Data races in reffers ARefss<'a, V> is a type that is assumed to contain objects that are Send + Sync. In the affected versions of this crate, Send/Sync traits are unconditionally implemented for ARefss<'a, V>. By using the ARefss::map() API, we can insert a !Send or !Sync object into ARefss<'a, V>. After that, it is possible to create a data race to the inner object of ARefss<'a, V>, which can lead to undefined behavior & memory corruption. The flaw was corrected in commit `6dd7ca0` by adding trait bound V: Send + Sync to ARefss::map() API.
Metadata
Created: 2021-08-25T20:51:40Z
Modified: 2023-06-13T20:28:35Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-39xg-8p43-h76x/GHSA-39xg-8p43-h76x.json
CWE IDs: ["CWE-362", "CWE-787"]
Alternative ID: GHSA-39xg-8p43-h76x
Finding: F124
Auto approve: 1