PT-2020-17614
CVE-2020-36435
·
تاريخ النشر
2020-11-16
·
تاريخ التحديث
2021-08-25
الوصف من
CVSS 3.1
8.1
عاليةالمقاييسAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
ruspiro-singleton versions prior to 0.4.1
Description
The issue arises from the unconditional implementation of
Sync and Send in Singleton, allowing non-Sync types like Cell to be used in singletons. This can cause data races in concurrent programs. The flaw was corrected by adding trait bounds, requiring the contained type to implement Sync.Recommendations
For versions prior to 0.4.1, update to version 0.4.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of
Singleton with non-Sync types to minimize the risk of data races. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾