Lucene search
+L

595 matches found

Github Security Blog
Github Security Blog
added 2021/11/10 6:57 p.m.37 views

Null pointer exception in `DeserializeSparse`

Impact The shape inference code for DeserializeSparse can trigger a null pointer dereference: python import tensorflow as tf dataset = tf.data.Dataset.range3 @tf.function def test: y = tf.rawops.DeserializeSparse serializedsparse=tf.data.experimental.tovariantdataset, dtype=tf.int32 test This is...

5.5CVSS1.8AI score0.00181EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/11/10 6:51 p.m.41 views

Undefined behavior via `nullptr` reference binding in sparse matrix multiplication

Impact The code for sparse matrix multiplication is vulnerable to undefined behavior via binding a reference to nullptr: python import tensorflow as tf tf.rawops.SparseMatMul a=1.0,1.0,1.0, b=,,, transposea=False, transposeb=False, aissparse=False, bissparse=True This occurs whenever the dimensio...

7.8CVSS2AI score0.00204EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/11/10 6:44 p.m.43 views

A use of uninitialized value vulnerability in Tensorflow

Impact TensorFlow's Grappler optimizer has a use of unitialized variable: cc const NodeDef dequeuenode; for const auto& trainnode : trainnodes if IsDequeueOptrainnode dequeuenode = trainnode; break; if dequeuenode ... If the trainnodes vector obtained from the saved model that gets optimized does...

7.8CVSS2.5AI score0.0019EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/11/10 6:41 p.m.36 views

Heap OOB in `SparseBinCount`

Impact The implementation of SparseBinCount is vulnerable to a heap OOB: python import tensorflow as tf tf.rawops.SparseBincount indices=0,1,2 values=0,-10000000 denseshape=1,1 size=1 weights=3,2,1 binaryoutput=False This is because of missing validation between the elements of the values argumen...

7.1CVSS2.1AI score0.00201EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/11/10 4:54 p.m.49 views

Code injection in `saved_model_cli`

Impact TensorFlow's savedmodelcli tool is vulnerable to a code injection as it calls eval on user supplied strings python def preprocessinputexprsargstringinputexprsstr: ... for inputraw in filterbool, inputexprsstr.split';': ... inputkey, expr = inputraw.split'=', 1 inputdictinputkey = evalexpr...

7.8CVSS1.7AI score0.00208EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:44 p.m.55 views

Floating point exception in `SparseDenseCwiseDiv`

Impact The implementation of tf.rawops.SparseDenseCwiseDiv is vulnerable to a division by 0 error: python import tensorflow as tf import numpy as np tf.rawops.SparseDenseCwiseDiv spindices=np.array4, spvalues=np.array-400, spshape=np.array647., dense=np.array0 The implementation uses a common cla...

5.5CVSS5.9AI score0.00152EPSS
SaveExploits0References7Affected Software3
OSV
OSV
added 2021/08/25 2:44 p.m.4 views

GHSA-HWR7-8GXX-FJ5P Null pointer dereference in `RaggedTensorToTensor`

Impact Sending invalid argument for rowpartitiontypes of tf.rawops.RaggedTensorToTensor API results in a null pointer dereference and undefined behavior: python import tensorflow as tf tf.rawops.RaggedTensorToTensor shape=1, values=10, defaultvalue=21, rowpartitiontensors=tf.constant0,0,0,0,...

7.7CVSS6.4AI score0.00167EPSS
SaveExploits0References7
Github Security Blog
Github Security Blog
added 2021/08/25 2:44 p.m.51 views

Integer division by 0 in sparse reshaping

Impact The implementation of tf.rawops.SparseReshape can be made to trigger an integral division by 0 exception: python import tensorflow as tf tf.rawops.SparseReshape inputindices = np.ones1,3, inputshape = np.array1,1,0, newshape = np.array1,0 The implementation calls the reshaping functor...

5.5CVSS6.1AI score0.00152EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:43 p.m.50 views

Null pointer dereference in `MatrixDiagPartOp`

Impact If a user does not provide a valid padding value to tf.rawops.MatrixDiagPartOp, then the code triggers a null pointer dereference if input is empty or produces invalid behavior, ignoring all values after the first: python import tensorflow as tf tf.rawops.MatrixDiagPartV2...

7.7CVSS7.2AI score0.0016EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:43 p.m.48 views

Integer overflow due to conversion to unsigned

Impact The implementation of tf.rawops.QuantizeAndDequantizeV4Grad is vulnerable to an integer overflow issue caused by converting a signed integer value to an unsigned one and then allocating memory based on this value. python import tensorflow as tf tf.rawops.QuantizeAndDequantizeV4Grad...

5.5CVSS6.1AI score0.00152EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:43 p.m.55 views

Null pointer dereference in `SparseTensorSliceDataset`

Impact When a user does not supply arguments that determine a valid sparse tensor, tf.rawops.SparseTensorSliceDataset implementation can be made to dereference a null pointer: python import tensorflow as tf tf.rawops.SparseTensorSliceDataset indices=,,, values=1,2,3, denseshape=3,3 The...

7.7CVSS6AI score0.0016EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:43 p.m.40 views

Null pointer dereference in `UncompressElement`

Impact The code for tf.rawops.UncompressElement can be made to trigger a null pointer dereference: python import tensorflow as tf data = tf.data.Dataset.fromtensors0.0 tf.rawops.UncompressElement compressed=tf.data.experimental.tovariantdata, outputtypes=tf.int64, outputshapes=2 The implementatio...

7.7CVSS6.1AI score0.0016EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:43 p.m.36 views

Division by 0 in `ResourceGather`

Impact An attacker can trigger a crash via a floating point exception in tf.rawops.ResourceGather: python import tensorflow as tf tensor = tf.constantvalue=,shape=0,1,dtype=tf.uint32 v = tf.Variabletensor tf.rawops.ResourceGather resource=v.handle, indices=0, dtype=tf.uint32, batchdims=1,...

5.5CVSS5.8AI score0.00152EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:42 p.m.49 views

Reference binding to nullptr in `MatrixDiagV*` ops

Impact An attacker can cause undefined behavior via binding a reference to null pointer in all operations of type tf.rawops.MatrixDiagV: python import tensorflow as tf tf.rawops.MatrixDiagV3 diagonal=1,0, k=, numrows=1,2,3, numcols=4,5, paddingvalue=, align='RIGHTRIGHT' The implementation has...

7.8CVSS7.6AI score0.00167EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:42 p.m.55 views

Reference binding to nullptr in `MatrixSetDiagV*` ops

Impact An attacker can cause undefined behavior via binding a reference to null pointer in all operations of type tf.rawops.MatrixSetDiagV: python import tensorflow as tf tf.rawops.MatrixSetDiagV3 input=1,2,3, diagonal=1,1, k=, align='RIGHTLEFT' The implementation has incomplete validation that t...

7.8CVSS7.6AI score0.00167EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:42 p.m.35 views

Division by 0 in inplace operations

Impact An attacker can cause a floating point exception by calling inplace operations with crafted arguments that would result in a division by 0: python import tensorflow as tf tf.rawops.InplaceSubx=,i=-99,-1,-1,v=1,1,1 The implementation has a logic error: it should skip processing if x and v a...

5.5CVSS6AI score0.00154EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:42 p.m.32 views

Reference binding to nullptr in boosted trees

Impact An attacker can generate undefined behavior via a reference binding to nullptr in BoostedTreesCalculateBestGainsPerFeature: python import tensorflow as tf tf.rawops.BoostedTreesCalculateBestGainsPerFeature nodeidrange=, statssummarylist=1,2,3, l1=1.0, l2=1.0, treecomplexity =1.0,...

7.8CVSS7.4AI score0.00189EPSS
SaveExploits0References8Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:42 p.m.44 views

Incomplete validation in `QuantizeV2`

Impact Due to incomplete validation in tf.rawops.QuantizeV2, an attacker can trigger undefined behavior via binding a reference to a null pointer or can access data outside the bounds of heap allocated arrays: python import tensorflow as tf tf.rawops.QuantizeV2 input=1,2,3, minrange=1,2, maxrange...

7.8CVSS7.6AI score0.00173EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:42 p.m.30 views

FPE in `tf.raw_ops.UnravelIndex`

Impact An attacker can cause denial of service in applications serving models using tf.rawops.UnravelIndex by triggering a division by 0: python import tensorflow as tf tf.rawops.UnravelIndexindices=-1, dims=1,0,2 The implementation does not check that the tensor subsumed by dims is not empty...

5.5CVSS5.8AI score0.00154EPSS
SaveExploits0References7Affected Software3
Github Security Blog
Github Security Blog
added 2021/08/25 2:41 p.m.35 views

Heap OOB in `UpperBound` and `LowerBound`

Impact An attacker can read from outside of bounds of heap allocated data by sending specially crafted illegal arguments to tf.rawops.UpperBound: python import tensorflow as tf tf.rawops.UpperBound sortedinput=1,2,3, values=tf.constantvalue=0,0,0,1,1,1,2,2,2,dtype=tf.int64, outtype=tf.int64 The...

5.5CVSS6AI score0.00169EPSS
SaveExploits0References7Affected Software3
Rows per page
Query Builder