Lucene search
+L

799 matches found

Github Security Blog
Github Security Blog
added 2022/02/10 12:32 a.m.42 views

Null-dereference in Tensorflow

Impact The implementation of GetInitOp is vulnerable to a crash caused by dereferencing a null pointer: cc const auto& initopsigit = metagraphdef.signaturedef.findkSavedModelInitOpSignatureKey; if initopsigit != sigdefmap.end initopname = initopsigit-second.outputs...

6.5CVSS0.7AI score0.00783EPSS
SaveExploits1References7Affected Software3
OSV
OSV
added 2022/02/10 12:21 a.m.9 views

GHSA-GCVH-66FF-4MWM `CHECK`-failures in Tensorflow

Impact The implementation of MapStage is vulnerable a CHECK-fail if the key tensor is not a scalar: python import tensorflow as tf import numpy as np tf.rawops.MapStage key = tf.constantvalue=4, shape= 1,2, dtype=tf.int64, indices = np.array6, values = np.array-60, dtypes = tf.int64, capacity=0,...

7.1CVSS6.5AI score0.00783EPSS
SaveExploits1References7
Github Security Blog
Github Security Blog
added 2022/02/10 12:21 a.m.42 views

`CHECK`-failures in Tensorflow

Impact The implementation of MapStage is vulnerable a CHECK-fail if the key tensor is not a scalar: python import tensorflow as tf import numpy as np tf.rawops.MapStage key = tf.constantvalue=4, shape= 1,2, dtype=tf.int64, indices = np.array6, values = np.array-60, dtypes = tf.int64, capacity=0,...

6.5CVSS1AI score0.00783EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/10 12:20 a.m.36 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.00821EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/10 12:15 a.m.74 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.00783EPSS
SaveExploits1References7Affected Software3
OSV
OSV
added 2022/02/10 12:15 a.m.11 views

GHSA-V3F7-J968-4H5F 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.8CVSS5.9AI score0.00783EPSS
SaveExploits1References7
Github Security Blog
Github Security Blog
added 2022/02/09 11:54 p.m.44 views

Integer overflow in Tensorflow

Impact The implementation of Range suffers from integer overflows. These can trigger undefined behavior or, in some scenarios, extremely large allocations. Patches We have patched the issue in GitHub commit f0147751fd5d2ff23251149ebad9af9f03010732 merging 51733. The fix will be included in...

8.8CVSS2.2AI score0.00578EPSS
SaveExploits0References8Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:53 p.m.49 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.0054EPSS
SaveExploits0References6Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:52 p.m.42 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.01173EPSS
SaveExploits1References9Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:52 p.m.51 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.00811EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:47 p.m.48 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.00757EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:47 p.m.42 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.00821EPSS
SaveExploits1References7Affected Software3
OSV
OSV
added 2022/02/09 11:43 p.m.12 views

GHSA-PFJJ-M3JJ-9JC9 Undefined behavior in `SparseTensorSliceDataset`

Impact The implementation of SparseTensorSliceDataset has an undefined behavior: under certain condition it can be made to dereference a nullptr value: python import tensorflow as tf import numpy as np tf.rawops.SparseTensorSliceDataset indices=, values=, denseshape=1,1 The 3 input arguments...

7.6CVSS5.8AI score0.00746EPSS
SaveExploits1References7
Github Security Blog
Github Security Blog
added 2022/02/09 11:39 p.m.48 views

Integer overflows in Tensorflow

Impact The implementation of AddManySparseToTensorsMap is vulnerable to an integer overflow which results in a CHECK-fail when building new TensorShape objects so, an assert failure based denial of service: python import tensorflow as tf import numpy as np tf.rawops.AddManySparseToTensorsMap...

6.5CVSS2.3AI score0.008EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:34 p.m.36 views

Integer Overflow or Wraparound in TensorFlow

Impact The Grappler component of TensorFlow is vulnerable to a denial of service via CHECK-failure assertion failure in constant folding: cc for const auto& outputprop : outputprops const PartialTensorShape outputshapeoutputprop.shape; // ... The outputprop tensor has a shape that is controlled b...

5.5CVSS4.1AI score0.00307EPSS
SaveExploits1References4Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:31 p.m.41 views

Out of bounds read in Tensorflow

Impact TensorFlow's type inference can cause a heap OOB read as the bounds checking is done in a DCHECK which is a no-op during production: cc if nodet.typeid != TFTUNSET int ix = inputidxi; DCHECKix nodet.argssize "input " i " should have an output " ix " but instead only has " nodet.argssize "...

8.1CVSS0.1AI score0.00858EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:30 p.m.32 views

Stack overflow in TensorFlow

Impact The GraphDef format in TensorFlow does not allow self recursive functions. The runtime assumes that this invariant is satisfied. However, a GraphDef containing a fragment such as the following can be consumed when loading a SavedModel: library function signature name: "SomeOp" description:...

7.5CVSS0.7AI score0.00789EPSS
SaveExploits0References6Affected Software3
OSV
OSV
added 2022/02/09 11:29 p.m.17 views

GHSA-PQRV-8R2F-7278 Crash due to erroneous `StatusOr` in TensorFlow

Impact A GraphDef from a TensorFlow SavedModel can be maliciously altered to cause a TensorFlow process to crash due to encountering a StatusOr value that is an error and forcibly extracting the value from it: cc if opregdata-typector != nullptr VLOG3 opdef; const FullTypeDef ctortypedef =...

5.9CVSS5.9AI score0.00973EPSS
SaveExploits1References7
Github Security Blog
Github Security Blog
added 2022/02/09 11:28 p.m.32 views

Crash when type cannot be specialized in Tensorflow

Impact Under certain scenarios, TensorFlow can fail to specialize a type during shape inference: cc void InferenceContext::PreInputInit const OpDef& opdef, const std::vector& inputtensors, const std::vector& inputtensorsasshapes const auto ret = fulltype::SpecializeTypeattrs, opdef;...

6.5CVSS1.2AI score0.00992EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:28 p.m.37 views

`CHECK`-fails due to attempting to build a reference tensor

Impact A malicious user can cause a denial of service by altering a SavedModel such that Grappler optimizer would attempt to build a tensor using a reference dtype. This would result in a crash due to a CHECK-fail in the Tensor constructor as reference types are not allowed. Patches We have patch...

6.5CVSS1.8AI score0.00864EPSS
SaveExploits1References8Affected Software3
Rows per page
Query Builder