Lucene search
+L

485 matches found

Github Security Blog
Github Security Blog
added 2022/02/10 12:19 a.m.39 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.00845EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/10 12:15 a.m.52 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
Github Security Blog
Github Security Blog
added 2022/02/09 11:55 p.m.34 views

Out of bounds write in Tensorflow

Impact TensorFlow is vulnerable to a heap OOB write in Grappler: cc Status SetUnknownShapeconst NodeDef node, int outputport shapeinference::ShapeHandle shape = GetUnknownOutputShapenode, outputport; InferenceContext ctx = GetContextnode; if ctx == nullptr return errors::InvalidArgument"Missing...

8.8CVSS0.00924EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:54 p.m.40 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.43 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.37 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:47 p.m.41 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.38 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
Github Security Blog
Github Security Blog
added 2022/02/09 11:47 p.m.33 views

Heap overflow in Tensorflow

Impact The implementation of SparseCountSparseOutput is vulnerable to a heap overflow: python import tensorflow as tf import numpy as np tf.rawops.SparseCountSparseOutput indices=-1,-1, values=2, denseshape=1, 1, weights=1, binaryoutput=True, minlength=-1, maxlength=-1, name=None Patches We have...

8.8CVSS1.8AI score0.00788EPSS
SaveExploits1References8Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:46 p.m.36 views

Null pointer dereference in TensorFlow

Impact The implementation of QuantizedMaxPool has an undefined behavior where user controlled inputs can trigger a reference binding to null pointer. python import tensorflow as tf tf.rawops.QuantizedMaxPool input = tf.constant4, dtype=tf.quint8, mininput = , maxinput = 1, ksize = 1, 1, 1, 1,...

6.5CVSS0.7AI score0.00783EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:39 p.m.44 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:38 p.m.66 views

NULL Pointer Dereference and Access of Uninitialized Pointer in TensorFlow

Impact The code for boosted trees in TensorFlow is still missing validation. This allows malicious users to read and write outside of bounds of heap allocated data as well as trigger denial of service via dereferencing nullptrs or via CHECK-failures. This follows after CVE-2021-41208 where these...

8.8CVSS1.6AI score0.00168EPSS
SaveExploits0References4Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:34 p.m.34 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:33 p.m.33 views

Null pointer dereference in TensorFlow

Impact When building an XLA compilation cache, if default settings are used, TensorFlow triggers a null pointer dereference: cc string allowedgpus = flr-configproto-gpuoptions.visibledevicelist; In the default scenario, all devices are allowed, so flr-configproto is nullptr. Patches We have patch...

6.5CVSS1.9AI score0.00774EPSS
SaveExploits1References7Affected Software3
Github Security Blog
Github Security Blog
added 2022/02/09 11:32 p.m.40 views

Out of bounds read in Tensorflow

Impact The TFG dialect of TensorFlow MLIR makes several assumptions about the incoming GraphDef before converting it to the MLIR-based dialect. If an attacker changes the SavedModel format on disk to invalidate these assumptions and the GraphDef is then converted to MLIR-based IR then they can...

8.8CVSS1.5AI score0.00142EPSS
SaveExploits0References4Affected Software3
OSV
OSV
added 2022/02/09 11:32 p.m.18 views

GHSA-GWCX-JRX4-92W2 Segfault in `simplifyBroadcast` in Tensorflow

Impact The simplifyBroadcast function in the MLIR-TFRT infrastructure in TensorFlow is vulnerable to a segfault hence, denial of service, if called with scalar shapes. cc sizet maxRank = 0; for auto shape : llvm::enumerateshapes auto foundshape = analysis.dimensionsForShapeTensorshape.value; if...

8.2CVSS6.4AI score0.0087EPSS
SaveExploits1References7
Github Security Blog
Github Security Blog
added 2022/02/09 11:31 p.m.34 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
OSV
OSV
added 2022/02/09 11:31 p.m.29 views

GHSA-VQ36-27G6-P492 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.1CVSS7.8AI score0.00858EPSS
SaveExploits1References7
Github Security Blog
Github Security Blog
added 2022/02/09 11:30 p.m.30 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
Github Security Blog
Github Security Blog
added 2022/02/09 11:29 p.m.28 views

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 =...

7.5CVSS1.9AI score0.00973EPSS
SaveExploits1References7Affected Software3
Rows per page
Query Builder