tensorflow
PyPI427 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting tensorflowpage 6 of 9
- CVE-2022-21733MEDIUMCVSS 4.3EG 4.3✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `StringNGrams` can be used to trigger a denial of service attack by causing an out of memory condition after an integer overflow. We are missing a validation on…
- CVE-2022-21734MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `MapStage` is vulnerable a `CHECK`-fail if the key tensor is not a scalar. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on …
- CVE-2022-21735MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `FractionalMaxPool` can be made to crash a TensorFlow process via a division by 0. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this co…
- CVE-2022-21736HIGHCVSS 7.6EG 7.6✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseTensorSliceDataset` has an undefined behavior: under certain condition it can be made to dereference a `nullptr` value. The 3 input arguments to `SparseT…
- CVE-2022-21737MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `*Bincount` operations allows malicious users to cause denial of service by passing in arguments which would trigger a `CHECK`-fail. There are several condition…
- CVE-2022-21738MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseCountSparseOutput` can be made to crash a TensorFlow process by an integer overflow whose result is then used in a memory allocation. The fix will be inc…
- CVE-2022-21739MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `QuantizedMaxPool` has an undefined behavior where user controlled inputs can trigger a reference binding to null pointer. The fix will be included in TensorFlo…
- CVE-2022-21740HIGHCVSS 7.6EG 7.6✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseCountSparseOutput` is vulnerable to a heap overflow. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.…
- CVE-2022-21741MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. ### 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 c…
- CVE-2022-23557MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would trigger a division by zero in `BiasAndClamp` implementation. There is no check that the `bias_size` is non zero. The fix will be inclu…
- CVE-2022-23558HIGHCVSS 7.6EG 7.6✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause an integer overflow in `TfLiteIntArrayCreate`. The `TfLiteIntArrayGetSizeInBytes` returns an `int` instead of a `size_t. An atta…
- CVE-2022-23559HIGHCVSS 8.8EG 8.8✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause an integer overflow in embedding lookup operations. Both `embedding_size` and `lookup_size` are products of values provided by t…
- CVE-2022-23560HIGHCVSS 8.8EG 8.8✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would allow limited reads and writes outside of arrays in TFLite. This exploits missing validation in the conversion from sparse tensors to …
- CVE-2022-23561HIGHCVSS 8.8EG 8.8✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. 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…
- CVE-2022-23562HIGHCVSS 7.6EG 7.6✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `Range` suffers from integer overflows. These can trigger undefined behavior or, in some scenarios, extremely large allocations. The fix will be included in Ten…
- CVE-2022-23563HIGHCVSS 7.1EG 7.1✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. In multiple places, TensorFlow uses `tempfile.mktemp` to create temporary files. While this is acceptable in testing, in utilities and libraries it is dangerous as a different proces…
- CVE-2022-23564MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. When decoding a resource handle tensor from protobuf, a TensorFlow process can encounter cases where a `CHECK` assertion is invalidated based on user controlled arguments. This allow…
- CVE-2022-23565MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. An attacker can trigger denial of service via assertion failure by altering a `SavedModel` on disk such that `AttrDef`s of some operation are duplicated. The fix will be included in …
- CVE-2022-23566HIGHCVSS 8.8EG 8.8✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. TensorFlow is vulnerable to a heap OOB write in `Grappler`. The `set_output` function writes to an array at the specified index. Hence, this gives a malicious user a write primitive.…
- CVE-2022-23567MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementations of `Sparse*Cwise*` ops are vulnerable to integer overflows. These can be used to trigger large allocations (so, OOM based denial of service) or `CHECK`-fails when…
- CVE-2022-23568MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. 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 …
- CVE-2022-23569MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-03
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. Multiple operations in TensorFlow can be used to trigger a denial of service via `CHECK`-fails (i.e., assertion failures). This is similar to TFSA-2021-198 and has similar fixes. We …
- CVE-2022-23570MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. When decoding a tensor from protobuf, TensorFlow might do a null-dereference if attributes of some mutable arguments to some operations are missing from the proto. This is guarded by…
- CVE-2022-23571MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. When decoding a tensor from protobuf, a TensorFlow process can encounter cases where a `CHECK` assertion is invalidated based on user controlled arguments, if the tensors have an inv…
- CVE-2022-23572MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, TensorFlow can fail to specialize a type during shape inference. This case is covered by the `DCHECK` function however, `DCHECK` is a no-op in production bui…
- CVE-2022-23573HIGHCVSS 7.6EG 7.6✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `AssignOp` can result in copying uninitialized data to a new tensor. This later results in undefined behavior. The implementation has a check that the left hand…
- CVE-2022-23574HIGHCVSS 8.8EG 8.8✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. There is a typo in TensorFlow's `SpecializeType` which results in heap OOB read/write. Due to a typo, `arg` is initialized to the `i`th mutable argument in a loop where the loop inde…
- CVE-2022-23575MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `OpLevelCostEstimator::CalculateTensorSize` is vulnerable to an integer overflow if an attacker can create an operation which would involve a tensor with large …
- CVE-2022-23576MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `OpLevelCostEstimator::CalculateOutputSize` is vulnerable to an integer overflow if an attacker can create an operation which would involve tensors with large e…
- CVE-2022-23577MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The implementation of `GetInitOp` is vulnerable to a crash caused by dereferencing a null pointer. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit o…
- CVE-2022-23578MEDIUMCVSS 4.3EG 4.3✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. If a graph node is invalid, TensorFlow can leak memory in the implementation of `ImmutableExecutorState::Initialize`. Here, we set `item->kernel` to `nullptr` but it is a simple `OpK…
- CVE-2022-23579MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The Grappler optimizer in TensorFlow can be used to cause a denial of service by altering a `SavedModel` such that `SafeToRemoveIdentity` would trigger `CHECK` failures. The fix will…
- CVE-2022-23580MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. During shape inference, TensorFlow can allocate a large vector based on a value from a tensor controlled by the user. The fix will be included in TensorFlow 2.8.0. We will also cherr…
- CVE-2022-23581MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. The Grappler optimizer in TensorFlow can be used to cause a denial of service by altering a `SavedModel` such that `IsSimplifiableReshape` would trigger `CHECK` failures. The fix wil…
- CVE-2022-23582MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. A malicious user can cause a denial of service by altering a `SavedModel` such that `TensorByteSize` would trigger `CHECK` failures. `TensorShape` constructor throws a `CHECK`-fail i…
- CVE-2022-23583MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. A malicious user can cause a denial of service by altering a `SavedModel` such that any binary op would trigger `CHECK` failures. This occurs when the protobuf part corresponding to …
- CVE-2022-23584HIGHCVSS 7.6EG 7.6✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. A malicious user can cause a use after free behavior when decoding PNG images. After `png::CommonFreeDecode(&decode)` gets called, the values of `decode.width` and `decode.height` ar…
- CVE-2022-23585MEDIUMCVSS 4.3EG 4.3✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. When decoding PNG images TensorFlow can produce a memory leak if the image is invalid. After calling `png::CommonInitDecode(..., &decode)`, the `decode` value contains allocated buff…
- CVE-2022-23586MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. A malicious user can cause a denial of service by altering a `SavedModel` such that assertions in `function.cc` would be falsified and crash the Python interpreter. The fix will be i…
- CVE-2022-23587HIGHCVSS 8.8EG 8.8✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, Grappler component of TensorFlow is vulnerable to an integer overflow during cost estimation for crop and resize. Since the cropping parameters are user cont…
- CVE-2022-23588MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. 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…
- CVE-2022-23589MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, Grappler component of TensorFlow can trigger a null pointer dereference. There are 2 places where this can occur, for the same malicious alteration of a `Sav…
- CVE-2022-23590MEDIUMCVSS 5.9EG 5.9✓ Fixed in 2.7.12022-02-04
vulnerable: 0.12.0 ... 2.7.0rc1 (71 versions)
Tensorflow is an Open Source Machine Learning Framework. 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 ext…
- CVE-2022-23591HIGHCVSS 7.5EG 7.5✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. 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…
- CVE-2022-23592HIGHCVSS 8.1EG 8.1✓ Fixed in 2.8.02022-02-04
vulnerable: 2.8.0-rc0, 2.8.0rc0, 2.8.0rc1
Tensorflow is an Open Source Machine Learning Framework. TensorFlow's type inference can cause a heap out of bounds read as the bounds checking is done in a `DCHECK` (which is a no-op during production). An attacker can control the `input_…
- CVE-2022-23593MEDIUMCVSS 5.9EG 5.9✓ Fixed in 2.8.02022-02-04
vulnerable: 2.8.0-rc0, 2.8.0rc0, 2.8.0rc1
Tensorflow is an Open Source Machine Learning Framework. The `simplifyBroadcast` function in the MLIR-TFRT infrastructure in TensorFlow is vulnerable to a segfault (hence, denial of service), if called with scalar shapes. If all shapes are…
- CVE-2022-23594HIGHCVSS 8.8EG 8.8✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. 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` f…
- CVE-2022-23595MEDIUMCVSS 5.3EG 5.3✓ Fixed in 2.7.12022-02-04
vulnerable: 2.7.0
Tensorflow is an Open Source Machine Learning Framework. When building an XLA compilation cache, if default settings are used, TensorFlow triggers a null pointer dereference. In the default scenario, all devices are allowed, so `flr->confi…
- CVE-2022-29191MEDIUMCVSS 5.5EG 5.5✓ Fixed in 2.8.12022-05-20
vulnerable: 2.8.0
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.GetSessionTensor` does not fully validate the input arguments. This results in a `CHECK`-failur…
- CVE-2022-29192MEDIUMCVSS 5.5EG 5.5✓ Fixed in 2.8.12022-05-20
vulnerable: 2.8.0
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.QuantizeAndDequantizeV4Grad` does not fully validate the input arguments. This results in a `CH…
Check whether tensorflow is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for tensorflow CVEs against the assets you own.
Start Free Scan →