Lucene search
K

123 matches found

Github Security Blog
Github Security Blog
added 2023/03/24 9:58 p.m.28 views

TensorFlow vulnerable to seg fault in `tf.raw_ops.Print`

Impact When the parameter summarize of tf.rawops.Print is zero, the new method SummarizeArray will reference to a nullptr, leading to a seg fault. python import tensorflow as tf tf.rawops.Printinput = tf.constant1, 1, 1, 1,dtype=tf.int32, data = False, False, False, False, False, False, False,...

7.5CVSS7.2AI score0.0024EPSS
Exploits0References4Affected Software3
Github Security Blog
Github Security Blog
added 2023/03/24 9:57 p.m.23 views

TensorFlow has Null Pointer Error in SparseSparseMaximum

Impact When SparseSparseMaximum is given invalid sparse tensors as inputs, it can give an NPE. python import tensorflow as tf tf.rawops.SparseSparseMaximum aindices=1, avalues = 0.1 , ashape = 2, bindices=, bvalues =2 , bshape = 2, Patches We have patched the issue in GitHub commit...

7.5CVSS7.3AI score0.00125EPSS
Exploits1References4Affected Software3
Github Security Blog
Github Security Blog
added 2023/03/24 9:56 p.m.26 views

TensorFlow has Floating Point Exception in AvgPoolGrad with XLA

Impact If the stride and window size are not positive for tf.rawops.AvgPoolGrad, it can give an FPE. python import tensorflow as tf import numpy as np @tf.functionjitcompile=True def test: y = tf.rawops.AvgPoolGradoriginputshape=1,0,0,0, grad=0.39117979, ksize=1,0,0,0, strides=1,0,0,0,...

7.5CVSS7.3AI score0.00206EPSS
Exploits0References4Affected Software3
Github Security Blog
Github Security Blog
added 2023/03/24 9:54 p.m.19 views

TensorFlow has Null Pointer Error in LookupTableImportV2

Impact The function tf.rawops.LookupTableImportV2 cannot handle scalars in the values parameter and gives an NPE. python import tensorflow as tf v = tf.Variable1 @tf.functionjitcompile=True def test: func = tf.rawops.LookupTableImportV2 para='tablehandle': v.handle,'keys': 62.98910140991211,...

7.5CVSS7.3AI score0.00105EPSS
Exploits0References4Affected Software3
Github Security Blog
Github Security Blog
added 2023/03/24 9:54 p.m.25 views

TensorFlow has Segfault in Bincount with XLA

Impact When running with XLA, tf.rawops.Bincount segfaults when given a parameter weights that is neither the same shape as parameter arr nor a length-0 tensor. python import tensorflow as tf func = tf.rawops.Bincount para='arr': 6, 'size': 804, 'weights': 52, 351 @tf.functionjitcompile=True def...

7.5CVSS7.2AI score0.00206EPSS
Exploits0References4Affected Software3
Github Security Blog
Github Security Blog
added 2023/03/24 9:54 p.m.26 views

TensorFlow has null dereference on ParallelConcat with XLA

Impact When running with XLA, tf.rawops.ParallelConcat segfaults with a nullptr dereference when given a parameter shape with rank that is not greater than zero. python import tensorflow as tf func = tf.rawops.ParallelConcat para = 'shape': 0, 'values': 1 @tf.functionjitcompile=True def test: y =...

7.5CVSS7.2AI score0.0024EPSS
Exploits0References4Affected Software3
Github Security Blog
Github Security Blog
added 2023/03/24 9:53 p.m.31 views

TensorFlow has Floating Point Exception in TFLite in conv kernel

Impact Constructing a tflite model with a paramater filterinputchannel of less than 1 gives a FPE. Patches We have patched the issue in GitHub commit 34f8368c535253f5c9cb3a303297743b62442aaa. The fix will be included in TensorFlow 2.12. We will also cherrypick this commit on TensorFlow 2.11.1. Fo...

7.5CVSS7.2AI score0.00206EPSS
Exploits0References4Affected Software3
Github Security Blog
Github Security Blog
added 2022/11/22 12:10 a.m.26 views

Tensorflow vulnerable to Out-of-Bounds Read

Impact When the BaseCandidateSamplerOp function receives a value in trueclasses larger than rangemax, a heap oob vuln occurs. python tf.rawops.ThreadUnsafeUnigramCandidateSampler trueclasses=0x100000,1, numtrue = 2, numsampled = 2, unique = False, rangemax = 2, seed = 2, seed2 = 2 Patches We have...

9.1CVSS8.8AI score0.0016EPSS
Exploits1References5Affected Software3
OSV
OSV
added 2022/10/07 7:22 a.m.23 views

GHSA-9JJW-HF72-3MXW TensorFlow vulnerable to heap out of bounds read in filesystem glob matching

Impact The general implementation for matching filesystem paths to globbing pattern is vulnerable to an access out of bounds of the array holding the directories: cc if !fs-Matchchildpath, dirsdirindex ... Since dirindex is unconditionaly incremented outside of the lambda function where the...

9.1CVSS7.4AI score0.0014EPSS
Exploits1References11
Github Security Blog
Github Security Blog
added 2022/02/10 12:20 a.m.24 views

Memory exhaustion in Tensorflow

Impact The implementation of StringNGrams can be used to trigger a denial of service attack by causing an OOM condition after an integer overflow: python import tensorflow as tf tf.rawops.StringNGrams data='123456', datasplits=0,1, separator='a'15, ngramwidths=, leftpad='', rightpad='',...

6.5CVSS3AI score0.00232EPSS
Exploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/10 12:19 a.m.28 views

Type confusion leading to segfault in Tensorflow

Impact The implementation of shape inference for ConcatV2 can be used to trigger a denial of service attack via a segfault caused by a type confusion: python import tensorflow as tf @tf.function def test: y = tf.rawops.ConcatV2 values=1,2,3,4,5,6, axis = 0xb500005b return y test The axis argument...

6.5CVSS1.2AI score0.00303EPSS
Exploits1References8Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/10 12:18 a.m.26 views

Overflow and uncaught divide by zero in Tensorflow

Impact The implementation of UnravelIndex is vulnerable to a division by zero caused by an integer overflow bug: python import tensorflow as tf tf.rawops.UnravelIndexindices=-0x100000,dims=0x100000,0x100000 Patches We have patched the issue in GitHub commit 58b34c6c8250983948b5a781b426f6aa01fd47a...

6.5CVSS2.3AI score0.0022EPSS
Exploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/10 12:15 a.m.30 views

Division by zero in Tensorflow

Impact The estimator for the cost of some convolution operations can be made to execute a division by 0: python import tensorflow as tf @tf.function def test: y=tf.rawops.AvgPoolGrad originputshape=1,1,1,1, grad=1.0,1.0,1.0,2.0,2.0,2.0,3.0,3.0,3.0, ksize=1,1,1,1, strides=1,1,1,0, padding='VALID',...

6.5CVSS0.8AI score0.0022EPSS
Exploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:53 p.m.31 views

Out of bounds write in TFLite

Impact An attacker can craft a TFLite model that would cause a write outside of bounds of an array in TFLite. In fact, the attacker can override the linked list used by the memory allocator. This can be leveraged for an arbitrary write primitive under certain conditions. Patches We have patched t...

8.8CVSS3.5AI score0.00175EPSS
Exploits0References6Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:52 p.m.26 views

Integer overflow in TFLite

Impact An attacker can craft a TFLite model that would cause an integer overflow in embedding lookup operations: cc int embeddingsize = 1; int lookupsize = 1; for int i = 0; i data.i32i; lookupsize = dim; outputshape-datak = dim; for int i = 1; i datak = dim; Both embeddingsize and lookupsize are...

8.8CVSS1.1AI score0.00517EPSS
Exploits1References9Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:52 p.m.28 views

Integer overflow in TFLite array creation

Impact An attacker can craft a TFLite model that would cause an integer overflow in TfLiteIntArrayCreate: cc TfLiteIntArray TfLiteIntArrayCreateint size int allocsize = TfLiteIntArrayGetSizeInBytessize; // ... TfLiteIntArray ret = TfLiteIntArraymallocallocsize; // ... The...

8.8CVSS1AI score0.0039EPSS
Exploits1References8Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:47 p.m.33 views

Division by zero in TFLite

Impact An attacker can craft a TFLite model that would trigger a division by zero in BiasAndClamp implementation: cc inline void BiasAndClampfloat clampmin, float clampmax, int biassize, const float biasdata, int arraysize, float arraydata // ... TFLITEDCHECKEQarraysize % biassize, 0; // ... Ther...

6.5CVSS3AI score0.0022EPSS
Exploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:47 p.m.26 views

Division by zero in TFLite

Impact An attacker can craft a TFLite model that would trigger a division by zero in the implementation of depthwise convolutions. The parameters of the convolution can be user controlled and are also used within a division operation to determine the size of the padding that needs to be added...

6.5CVSS2.8AI score0.00232EPSS
Exploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 6:29 p.m.15 views

Out of bounds read in Tensorflow

Impact The implementation of FractionalAvgPoolGrad does not consider cases where the input tensors are invalid allowing an attacker to read from outside of bounds of heap: python import tensorflow as tf @tf.function def test: y = tf.rawops.FractionalAvgPoolGrad originputtensorshape=2,2,2,2,...

8.1CVSS1.6AI score0.00316EPSS
Exploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 6:29 p.m.20 views

Integer overflow in Tensorflow

Impact The implementation of shape inference for Dequantize is vulnerable to an integer overflow weakness: python import tensorflow as tf input = tf.constant1,1,dtype=tf.qint32 @tf.function def test: y = tf.rawops.Dequantize input=input, minrange=1.0, maxrange=10.0, mode='MINCOMBINED',...

8.8CVSS2.4AI score0.00317EPSS
Exploits1References7Affected Software3
Rows per page
Query Builder