Lucene search
+L

9269 matches found

Github Security Blog
Github Security Blog
added 2021/11/10 7:35 p.m.40 views

Crashes due to overflow and `CHECK`-fail in ops with large tensor shapes

Impact TensorFlow allows tensor to have a large number of dimensions and each dimension can be as large as desired. However, the total number of elements in a tensor must fit within an int64t. If an overflow occurs, MultiplyWithoutOverflow would return a negative result. In the majority of...

5.5CVSS0.2AI score0.00319EPSS
SaveExploits1References11Affected Software3
OSV
OSV
added 2021/11/10 7:33 p.m.35 views

GHSA-2P25-55C9-H58Q Overflow/crash in `tf.tile` when tiling tensor is large

Impact If tf.tile is called with a large input argument then the TensorFlow process will crash due to a CHECK-failure caused by an overflow. python import tensorflow as tf import numpy as np tf.keras.backend.tilex=np.ones1,1,1, n=100000000,100000000, 100000000 The number of elements in the output...

6.8CVSS6AI score0.00238EPSS
SaveExploits1References8
Github Security Blog
Github Security Blog
added 2021/11/10 7:33 p.m.63 views

Overflow/crash in `tf.tile` when tiling tensor is large

Impact If tf.tile is called with a large input argument then the TensorFlow process will crash due to a CHECK-failure caused by an overflow. python import tensorflow as tf import numpy as np tf.keras.backend.tilex=np.ones1,1,1, n=100000000,100000000, 100000000 The number of elements in the output...

5.5CVSS2.2AI score0.00238EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
added 2021/11/10 7:33 p.m.51 views

Overflow/crash in `tf.image.resize` when size is large

Impact If tf.image.resize is called with a large input argument then the TensorFlow process will crash due to a CHECK-failure caused by an overflow. python import tensorflow as tf import numpy as np tf.keras.layers.UpSampling2D size=1610637938, dataformat='channelsfirst',...

5.5CVSS2.1AI score0.00238EPSS
SaveExploits1References8Affected Software3
OSV
OSV
added 2021/11/10 7:33 p.m.36 views

GHSA-5HX2-QX8J-QJQM Overflow/crash in `tf.image.resize` when size is large

Impact If tf.image.resize is called with a large input argument then the TensorFlow process will crash due to a CHECK-failure caused by an overflow. python import tensorflow as tf import numpy as np tf.keras.layers.UpSampling2D size=1610637938, dataformat='channelsfirst',...

5.5CVSS6AI score0.00238EPSS
SaveExploits1References8
Github Security Blog
Github Security Blog
added 2021/11/10 7:31 p.m.50 views

Incomplete validation in `tf.summary.create_file_writer`

Impact If tf.summary.createfilewriter is called with non-scalar arguments code crashes due to a CHECK-fail. python import tensorflow as tf import numpy as np tf.summary.createfilewriterlogdir='', flushmillis=np.ones1,2 Patches We have patched the issue in GitHub commit...

5.5CVSS1.9AI score0.00238EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
added 2021/11/10 7:17 p.m.41 views

Unitialized access in `EinsumHelper::ParseEquation`

Impact During execution, EinsumHelper::ParseEquation is supposed to set the flags in inputhasellipsis vector and outputhasellipsis boolean to indicate whether there is ellipsis in the corresponding inputs and output. However, the code only changes these flags to true and never assigns false. cc f...

7.8CVSS1.3AI score0.00249EPSS
SaveExploits1References7Affected Software3
OSV
OSV
added 2021/11/10 7:17 p.m.26 views

GHSA-J86V-P27C-73FM Unitialized access in `EinsumHelper::ParseEquation`

Impact During execution, EinsumHelper::ParseEquation is supposed to set the flags in inputhasellipsis vector and outputhasellipsis boolean to indicate whether there is ellipsis in the corresponding inputs and output. However, the code only changes these flags to true and never assigns false. cc f...

8.5CVSS7.1AI score0.00249EPSS
SaveExploits1References7
Github Security Blog
Github Security Blog
added 2021/11/10 7:13 p.m.46 views

Overflow/crash in `tf.range`

Impact While calculating the size of the output within the tf.range kernel, there is a conditional statement of type int64 = condition ? int64 : double. Due to C++ implicit conversion rules, both branches of the condition will be cast to double and the result would be truncated before the...

5.5CVSS1.3AI score0.00209EPSS
SaveExploits0References10Affected Software3
OSV
OSV
added 2021/11/10 7:13 p.m.47 views

GHSA-XRQM-FPGR-6HHX Overflow/crash in `tf.range`

Impact While calculating the size of the output within the tf.range kernel, there is a conditional statement of type int64 = condition ? int64 : double. Due to C++ implicit conversion rules, both branches of the condition will be cast to double and the result would be truncated before the...

6.8CVSS6AI score0.00209EPSS
SaveExploits0References10
Github Security Blog
Github Security Blog
added 2021/11/10 7:12 p.m.36 views

Missing validation during checkpoint loading

Impact An attacker can trigger undefined behavior, integer overflows, segfaults and CHECK-fail crashes if they can change saved checkpoints from outside of TensorFlow. This is because the checkpoints loading infrastructure is missing validation for invalid file formats. Patches We have patched th...

7.8CVSS1.8AI score0.00189EPSS
SaveExploits0References10Affected Software3
OSV
OSV
added 2021/11/10 7:12 p.m.15 views

GHSA-7PXJ-M4JF-R6H2 Missing validation during checkpoint loading

Impact An attacker can trigger undefined behavior, integer overflows, segfaults and CHECK-fail crashes if they can change saved checkpoints from outside of TensorFlow. This is because the checkpoints loading infrastructure is missing validation for invalid file formats. Patches We have patched th...

8.5CVSS7.1AI score0.00189EPSS
SaveExploits0References10
OSV
OSV
added 2021/11/10 7:12 p.m.22 views

GHSA-786J-5QWQ-R36X Segfault while copying constant resource tensor

Impact During TensorFlow's Grappler optimizer phase, constant folding might attempt to deep copy a resource tensor. This results in a segfault, as these tensors are supposed to not change. Patches We have patched the issue in GitHub commit 7731e8dfbe4a56773be5dc94d631611211156659. The fix will be...

6.8CVSS5.9AI score0.00141EPSS
SaveExploits0References7
Github Security Blog
Github Security Blog
added 2021/11/10 7:12 p.m.35 views

Segfault while copying constant resource tensor

Impact During TensorFlow's Grappler optimizer phase, constant folding might attempt to deep copy a resource tensor. This results in a segfault, as these tensors are supposed to not change. Patches We have patched the issue in GitHub commit 7731e8dfbe4a56773be5dc94d631611211156659. The fix will be...

5.5CVSS1.1AI score0.00141EPSS
SaveExploits0References7Affected Software3
OSV
OSV
added 2021/11/10 7:04 p.m.19 views

GHSA-49RX-X2RW-PC6F Heap OOB read in all `tf.raw_ops.QuantizeAndDequantizeV*` ops

Impact The shape inference functions for the QuantizeAndDequantizeV operations can trigger a read outside of bounds of heap allocated array as illustrated in the following sets of PoCs: python import tensorflow as tf @tf.function def test: data=tf.rawops.QuantizeAndDequantizeV4Grad...

7.1CVSS6.9AI score0.00153EPSS
SaveExploits0References7
Github Security Blog
Github Security Blog
added 2021/11/10 7:04 p.m.49 views

Heap OOB read in all `tf.raw_ops.QuantizeAndDequantizeV*` ops

Impact The shape inference functions for the QuantizeAndDequantizeV operations can trigger a read outside of bounds of heap allocated array as illustrated in the following sets of PoCs: python import tensorflow as tf @tf.function def test: data=tf.rawops.QuantizeAndDequantizeV4Grad...

7.1CVSS0.8AI score0.00153EPSS
SaveExploits0References7Affected Software3
OSV
OSV
added 2021/11/10 7:03 p.m.18 views

GHSA-PGCQ-H79J-2F69 Incomplete validation of shapes in multiple TF ops

Impact Several TensorFlow operations are missing validation for the shapes of the tensor arguments involved in the call. Depending on the API, this can result in undefined behavior and segfault or CHECK-fail related crashes but in some scenarios writes and reads from heap populated arrays are als...

7.3CVSS7.1AI score0.0018EPSS
SaveExploits0References12
Github Security Blog
Github Security Blog
added 2021/11/10 7:03 p.m.52 views

Incomplete validation of shapes in multiple TF ops

Impact Several TensorFlow operations are missing validation for the shapes of the tensor arguments involved in the call. Depending on the API, this can result in undefined behavior and segfault or CHECK-fail related crashes but in some scenarios writes and reads from heap populated arrays are als...

7.8CVSS0.6AI score0.0018EPSS
SaveExploits0References12Affected Software3
OSV
OSV
added 2021/11/10 7:02 p.m.17 views

GHSA-7V94-64HJ-M82H FPE in `ParallelConcat`

Impact The implementation of ParallelConcat misses some input validation and can produce a division by 0: python import tensorflow as tf @tf.function def test: y = tf.rawops.ParallelConcatvalues='tf',shape=0 return y test Patches We have patched the issue in GitHub commit...

6.8CVSS6AI score0.00141EPSS
SaveExploits0References11
Github Security Blog
Github Security Blog
added 2021/11/10 7:02 p.m.47 views

FPE in `ParallelConcat`

Impact The implementation of ParallelConcat misses some input validation and can produce a division by 0: python import tensorflow as tf @tf.function def test: y = tf.rawops.ParallelConcatvalues='tf',shape=0 return y test Patches We have patched the issue in GitHub commit...

5.5CVSS2.1AI score0.00141EPSS
SaveExploits0References11Affected Software3
Rows per page
Query Builder