PT-2021-18272

CVE-2021-29521

·

تاريخ النشر

2021-05-14

·

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

2024-03-06

الوصف من

CVSS 3.1
5.5
متوسطة
المقاييسAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: TensorFlow versions prior to 2.5.0 TensorFlow versions 2.4.1 and earlier TensorFlow versions 2.3.2 and earlier
Description: Specifying a negative dense shape in tf.raw ops.SparseCountSparseOutput results in a segmentation fault being thrown out from the standard library as std::vector invariants are broken. This is because the implementation assumes the first element of the dense shape is always positive and uses it to initialize a BatchedMap<T> data structure. Ensuring that the dense shape argument is a valid tensor shape solves this issue.
Recommendations: For TensorFlow versions prior to 2.5.0, update to TensorFlow 2.5.0 or later to resolve the issue. For TensorFlow versions 2.4.1 and earlier, update to TensorFlow 2.4.2 or later to resolve the issue. For TensorFlow versions 2.3.2 and earlier, update to TensorFlow 2.3.3 or later to resolve the issue. As a temporary workaround, ensure that the dense shape argument is a valid tensor shape, with all elements being non-negative, to prevent the segmentation fault.
قابلية الاستغلال
استغلال
إصلاح
الباحثون
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
GHSA-HR84-FQVP-48MM
BIT-TENSORFLOW-2021-29521
PYSEC-2021-158
PYSEC-2021-449
PYSEC-2021-647
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾