Lucene search
+L

555 matches found

Github Security Blog
Github Security Blog
•added 2021/05/21 2:28 p.m.•64 views

Heap buffer overflow in `BandedTriangularSolve`

Impact An attacker can trigger a heap buffer overflow in Eigen implementation of tf.rawops.BandedTriangularSolve: python import tensorflow as tf import numpy as np matrixarray = np.array matrixtensor = tf.converttotensornp.reshapematrixarray,0,1,dtype=tf.float32 rhsarray = np.array1,1 rhstensor =...

7.8CVSS2.5AI score0.00287EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:28 p.m.•68 views

Incomplete validation in `SparseAdd`

Impact Incomplete validation in SparseAdd results in allowing attackers to exploit undefined behavior dereferencing null pointers as well as write outside of bounds of heap allocated data: python import tensorflow as tf aindices = tf.zeros10, 97, dtype=tf.int64 avalues = tf.zeros10, dtype=tf.int6...

7.8CVSS1.8AI score0.00234EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:28 p.m.•72 views

Integer overflow in TFLite memory allocation

Impact The TFLite code for allocating TFLiteIntArrays is vulnerable to an integer overflow issue: cc int TfLiteIntArrayGetSizeInBytesint size static TfLiteIntArray dummy; return sizeofdummy + sizeofdummy.data0 size; An attacker can craft a model such that the size multiplier is so large that the...

7.1CVSS2.2AI score0.0022EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:28 p.m.•57 views

Division by zero in TFLite's implementation of hashtable lookup

Impact The TFLite implementation of hashtable lookup is vulnerable to a division by zero error: cc const int numrows = SizeOfDimensionvalue, 0; const int rowbytes = value-bytes / numrows; An attacker can craft a model such that values's first dimension would be 0. Patches We have patched the issu...

5.5CVSS2.1AI score0.00189EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:28 p.m.•63 views

Heap OOB write in TFLite

Impact A specially crafted TFLite model could trigger an OOB write on heap in the TFLite implementation of ArgMin/ArgMax: cc TfLiteIntArray outputdims = TfLiteIntArrayCreateNumDimensionsinput - 1; int j = 0; for int i = 0; i dataj = SizeOfDimensioninput, i; ++j; If axisvalue is not a value betwee...

7.8CVSS1.2AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:28 p.m.•53 views

Division by zero in TFLite's implementation of `DepthwiseConv`

Impact The implementation of the DepthwiseConv TFLite operator is vulnerable to a division by zero error: cc int numinputchannels = SizeOfDimensioninput, 3; TFLITEENSUREEQcontext, numfilterchannels % numinputchannels, 0; An attacker can craft a model such that input's fourth dimension would be 0...

5.5CVSS2.5AI score0.00189EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:28 p.m.•62 views

Integer overflow in TFLite concatentation

Impact The TFLite implementation of concatenation is vulnerable to an integer overflow issue: cc for int d = 0; d dims-size; ++d if d == axis sumaxis += t-dims-dataaxis; else TFLITEENSUREEQcontext, t-dims-datad, t0-dims-datad; An attacker can craft a model such that the dimensions of one of the...

7.1CVSS2.1AI score0.00192EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:28 p.m.•58 views

Division by zero in TFLite's implementation of `OneHot`

Impact The implementation of the OneHot TFLite operator is vulnerable to a division by zero error: cc int prefixdimsize = 1; for int i = 0; i dims-datai; const int suffixdimsize = NumElementsopcontext.indices / prefixdimsize; An attacker can craft a model such that at least one of the dimensions ...

7.8CVSS2.4AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:28 p.m.•70 views

Division by zero in TFLite's implementation of Split

Impact The implementation of the Split TFLite operator is vulnerable to a division by zero error: cc TFLITEENSUREMSGcontext, inputsize % numsplits == 0, "Not an even split"; const int slicesize = inputsize / numsplits; An attacker can craft a model such that numsplits would be 0. Patches We have...

7.8CVSS2.7AI score0.00209EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:27 p.m.•48 views

Division by zero in TFLite's implementation of `SVDF`

Impact The implementation of the SVDF TFLite operator is vulnerable to a division by zero error: cc const int rank = params-rank; ... TFLITEENSUREEQcontext, numfilters % rank, 0; An attacker can craft a model such that params-rank would be 0. Patches We have patched the issue in GitHub commit...

7.8CVSS2.7AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:27 p.m.•50 views

Division by zero in TFLite's implementation of `SpaceToBatchNd`

Impact The implementation of the SpaceToBatchNd TFLite operator is vulnerable to a division by zero error: cc TFLITEENSUREEQcontext, finaldimsize % blockshapedim, 0; outputsize-datadim + 1 = finaldimsize / blockshapedim; An attacker can craft a model such that one dimension of the block input is ...

7.8CVSS1.9AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:27 p.m.•51 views

Division by zero in TFLite's implementation of `DepthToSpace`

Impact The implementation of the DepthToSpace TFLite operator is vulnerable to a division by zero error: cc const int blocksize = params-blocksize; ... const int inputchannels = input-dims-data3; ... int outputchannels = inputchannels / blocksize / blocksize; An attacker can craft a model such th...

7.8CVSS2.3AI score0.00201EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:27 p.m.•62 views

Division by zero in TFLite's convolution code

Impact TFLite's convolution code has multiple division where the divisor is controlled by the user and not checked to be non-zero. For example: cc const int inputsize = NumElementsinput / SizeOfDimensioninput, 0; Patches We have patched the issue in GitHub commit...

7.8CVSS1.8AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:27 p.m.•41 views

Division by zero in TFLite's implementation of `BatchToSpaceNd`

Impact The implementation of the BatchToSpaceNd TFLite operator is vulnerable to a division by zero error: cc TFLITEENSUREEQcontext, outputbatchsize % blockshapedim, 0; outputbatchsize = outputbatchsize / blockshapedim; An attacker can craft a model such that one dimension of the block input is 0...

7.8CVSS1.3AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:26 p.m.•50 views

Division by zero in TFLite's implementation of `GatherNd`

Impact The reference implementation of the GatherNd TFLite operator is vulnerable to a division by zero error: cc ret.dimstocounti = remainflatsize / paramsshape.Dimsi; An attacker can craft a model such that params input would be an empty tensor. In turn, paramsshape.Dims. would be zero, in at...

7.8CVSS2.4AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:26 p.m.•57 views

Division by zero in TFLite's implementation of `TransposeConv`

Impact The optimized implementation of the TransposeConv TFLite operator is vulnerable to a division by zero error: cc int heightcol = height + padt + padb - filterh / strideh + 1; int widthcol = width + padl + padr - filterw / stridew + 1; An attacker can craft a model such that strideh,w values...

7.8CVSS1.2AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:26 p.m.•50 views

Division by zero in optimized pooling implementations in TFLite

Impact Optimized pooling implementations in TFLite fail to check that the stride arguments are not 0 before calling ComputePaddingHeightWidth. Since users can craft special models which will have params-strideheight,width be zero, this will result in a division by zero. Patches We have patched th...

7.8CVSS2.3AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:26 p.m.•55 views

Division by zero in padding computation in TFLite

Impact The TFLite computation for size of output after padding, ComputeOutSize, does not check that the stride argument is not 0 before doing the division. cc inline int ComputeOutSizeTfLitePadding padding, int imagesize, int filtersize, int stride, int dilationrate = 1 int effectivefiltersize =...

7.8CVSS1.6AI score0.00201EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:26 p.m.•57 views

CHECK-fail due to integer overflow

Impact An attacker can trigger a denial of service via a CHECK-fail in caused by an integer overflow in constructing a new tensor shape: python import tensorflow as tf inputlayer = 260-1 sparsedata = tf.rawops.SparseSplit splitdim=1, indices=0, 0, 0, 1, 0, 2, 4, 3, 5, 0, 5, 1, values=1.0, 1.0, 1....

5.5CVSS4AI score0.00189EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
•added 2021/05/21 2:26 p.m.•64 views

Heap buffer overflow and undefined behavior in `FusedBatchNorm`

Impact The implementation of tf.rawops.FusedBatchNorm is vulnerable to a heap buffer overflow: python import tensorflow as tf x = tf.zeros10, 10, 10, 6, dtype=tf.float32 scale = tf.constant0.0, shape=1, dtype=tf.float32 offset = tf.constant0.0, shape=1, dtype=tf.float32 mean = tf.constant0.0,...

7.8CVSS2AI score0.00211EPSS
SaveExploits1References7Affected Software3
Rows per page
Query Builder