PT-2020-17639

CVE-2020-36458

·

تاريخ النشر

2020-11-10

·

تاريخ التحديث

2022-05-03

الوصف من

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 lexer crate through 2020-11-10
Description The issue is related to the implementation of Sync for ReaderResult<T, E> with a trait bound of T: Send, E: Send, which can lead to data races and memory corruption when multiple threads access &T or &E concurrently. This is because matching on the public enum ReaderResult<T, E> provides access to &T and &E, allowing access to non-Sync types T or E.
Recommendations For lexer crate through 2020-11-10, consider changing the trait bounds imposed on T and E to be T: Sync, E: Sync to resolve the issue. As a temporary workaround, consider restricting concurrent access to ReaderResult<T, E> instances to minimize the risk of memory corruption.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-F997-8GXG-R354
RUSTSEC-2020-0138
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾