Advisories
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
1,675 items
TensorFlow's implementation of `AvgPoolGrad` does not fully validate the input `orig_input_shape`. This causes a `CHECK` failure that can be used to trigger a denial of service attack.
Fix: Patched in GitHub commit 3a6ac52664c6c095aa2b114e742b0aa17fdce78f. The fix will be included in TensorFlow 2.10.0 and cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2.
NVD/CVE DatabaseTensorFlow's `QuantizedAdd` crashes with a segfault when given `min_input` or `max_input` tensors of nonzero rank, enabling a denial of service attack. The issue is tracked as CVE-2022-35967 and patched in GitHub commit 49b3824d83af706df0ad07e4e677d88659756d89.
Fix: Patched in GitHub commit 49b3824d83af706df0ad07e4e677d88659756d89. The fix will be included in TensorFlow 2.10.0 and cherrypicked to TensorFlow 2.9.1, 2.8.1 and 2.7.2.
TensorFlow's QuantizedAvgPool crashes with a segfault when given min_input or max_input tensors of nonzero rank. An attacker can trigger this to cause a denial of service. The issue is tracked as CVE-2022-35966.
Fix: Patched in GitHub commit 7cdf9d4d2083b739ec81cfdace546b0c99f50622. The fix will be included in TensorFlow 2.10.0 and cherry-picked to TensorFlow 2.9.1, 2.8.1, and 2.7.2.
NVD/CVE DatabaseTensorFlow, an open source machine learning platform, has a flaw in `LowerBound` and `UpperBound`: passing an empty `sorted_inputs` input causes a `nullptr` dereference and a segfault. An attacker can use this crash to trigger a denial of service.
Fix: Patched in GitHub commit bce3717eaef4f769019fd18e990464ca4a2efeea. The fix will be included in TensorFlow 2.10.0, and the commit will be cherrypicked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. There are no known workarounds.
TensorFlow's `BlockLSTMGradV2` implementation does not fully validate its inputs, which causes a segfault that can be used to trigger a denial of service attack. The issue affects TensorFlow versions 2.7.2, 2.8.1 and 2.9.1 as well as earlier releases in their supported range.
Fix: Patched in GitHub commit 2a458fc4866505be27c62f81474ecb2b870498fa, included in TensorFlow 2.10.0 and cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. No known workarounds.
CVE-2022-35963 affects TensorFlow's `FractionalAvgPoolGrad` implementation, which does not fully validate the input `orig_input_tensor_shape`. The resulting overflow triggers a `CHECK` failure that can be used to launch a denial of service attack.
Fix: Patched in GitHub commit 03a659d7be9a1154fdf5eeac221e5950fec07dad. The fix will be included in TensorFlow 2.10.0, and the commit will be cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2.
TensorFlow's `tf.raw_ops.TensorListReserve` assumes that `num_elements` in `core/kernels/list_kernels.cc` is a tensor of size 1. Passing more than one element causes the call to fail a `CHECK_EQ` in `CheckIsAlignedAndSingleElement`.
Fix: Patched in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7. The fix will be included in TensorFlow 2.10.0 and cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2.
NVD/CVE DatabaseCVE-2022-35959 affects TensorFlow's `AvgPool3DGradOp` implementation, which does not fully validate the input `orig_input_shape`. An overflow from this flaw triggers a `CHECK` failure that can be used to launch a denial of service attack.
Fix: Patched in GitHub commit 9178ac9d6389bdc54638ab913ea0e419234d14eb. The fix will be included in TensorFlow 2.10.0 and cherrypicked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. No known workarounds.
TensorFlow's `UnbatchGradOp` function assumes its `id` argument is a scalar and expects `batch_index` to contain three times the number of elements given by `batch_index.dim_size(0)`. A nonscalar `id` or an incorrect `batch_index` triggers a `CHECK` failure that crashes the program.
Fix: Patched in GitHub commit 5f945fc6409a3c1e90d6970c9292f805f6e6ddf2. The fix will be included in TensorFlow 2.10.0, and the commit will be cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. There are no known workarounds.
TensorFlow's `AvgPoolOp` function does not check that its `ksize` argument is positive. A negative `ksize` triggers a `CHECK` failure that crashes the program. The fix is in GitHub commit 3a6ac52664c6c095aa2b114e742b0aa17fdce78f, and it will ship in TensorFlow 2.10.0.
Fix: Patched in GitHub commit 3a6ac52664c6c095aa2b114e742b0aa17fdce78f, to be included in TensorFlow 2.10.0. The commit will also be cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. No known workarounds.
CVE-2022-35940 affects TensorFlow's `RaggedRangOp` function. When its `limits` argument is a very large float, the conversion to `int64` overflows, which raises an `InvalidArgument` error and also sends an abort signal that crashes the program.
Fix: Patched in GitHub commit 37cefa91bee4eace55715eeef43720b958a01192. The fix will be included in TensorFlow 2.10.0, and the commit will be cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. There are no known workarounds.
CVE-2022-35939 affects TensorFlow's `ScatterNd` function. An input argument that sets the indices of the output tensor is not properly checked, so an index greater than the output tensor's size or less than zero can write data to the wrong position or crash the process.
Fix: Patched in GitHub commit b4d4b4cb019bd7240a52daa4ba61e3cc814f0384. The fix will be included in TensorFlow 2.10.0, and the commit will be cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2.
TensorFlow's `GatherNd` function contains a flaw where inputs at least as large as the outputs trigger an out-of-bounds memory read. The issue is tracked as CVE-2022-35937 and affects TensorFlow versions that remain in supported range.
Fix: Patched in GitHub commit 595a65a3e224a0362d7e68c2213acfc2b499a196. The fix will be included in TensorFlow 2.10.0 and cherrypicked to TensorFlow 2.9.1, 2.8.1 and 2.7.2.
NVD/CVE DatabaseTensorFlow's SobolSampleOp implementation can be driven into a denial of service through a CHECK failure, an assertion failure. The operation assumes that input(0), input(1), and input(2) are scalars, and it does not verify this.
Fix: Patched in GitHub commit c65c67f88ad770662e8f191269a907bf2b94b1bf. The fix will be included in TensorFlow 2.10.0 and cherry-picked to TensorFlow 2.9.1, 2.8.1, and 2.7.2. There are no known workarounds.
CVE-2022-35934 affects the tf.reshape op in TensorFlow. Overflowing the number of elements in a tensor triggers a CHECK-failure (assertion failure), which causes a denial of service. The flaw is patched in GitHub commit 61f0f9b94df8c0411f0ad0ecc2fec2d3f3c33555.
Fix: Patched in GitHub commit 61f0f9b94df8c0411f0ad0ecc2fec2d3f3c33555. The fix will be included in TensorFlow 2.10.0, and the commit will be cherrypicked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. No known workarounds exist.
CVE-2022-35918 affects Streamlit, a data-oriented application development framework for Python, in apps hosted by users that employ custom components. A directory traversal flaw lets an attacker craft a malicious URL containing file paths, and the Streamlit server returns the contents of those files. Exposed data can include server logs, world-readable files, and potentially other sensitive information.
Fix: This issue has been resolved in version 1.11.1. Users are advised to upgrade.
TensorFlow versions before 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a code injection flaw in the `saved_model_cli` tool that can be used to open a reverse shell. The code path existed for compatibility with test cases that pass numpy expressions as arguments, and the source notes the tool is always run manually, so the impact is described as not severe.
Fix: The maintainers removed the `safe=False` argument so all parsing is done without calling `eval`. The patch is available in versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4.
CVE-2022-29213 affects TensorFlow versions before 2.9.0, 2.8.1, 2.7.2, and 2.6.4. The tf.compat.v1.signal.rfft2d and tf.compat.v1.signal.rfft3d functions lack input validation, and under certain conditions this can cause crashes from CHECK-failures.
Fix: Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
NVD/CVE DatabaseTensorFlow versions before 2.9.0, 2.8.1, 2.7.2 and 2.6.4 are affected by CVE-2022-29212. TFLite models created with the TFLite model converter crash the process when loaded in the TFLite interpreter, because quantization can produce scale values greater than 1 while the code assumes sub-unit scaling. The resulting `TFLITE_CHECK_LT` assertion in `QuantizeMultiplierSmallerThanOneExp` aborts the process.
Fix: Fixed in 2.9.0, 2.8.1, 2.7.2 and 2.6.4, which contain a patch for this issue.
TensorFlow's `tf.histogram_fixed_width` crashes when its values array contains `NaN` elements. The function assumes floating point operations are always defined and casts a `NaN` division result to `int32`, which fails. The flaw affects only the CPU implementation in versions before 2.9.0, 2.8.1, 2.7.2 and 2.6.4.
Fix: Fixed in 2.9.0, 2.8.1, 2.7.2 and 2.6.4.
NVD/CVE Database