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
Gradio versions prior to 2.5.0 do not restrict file paths, so anyone who receives a publicly shared Gradio link can read any file on the host if they know its name or path. Access is limited only by the host operating system, and paths are opened in read-only mode.
Fix: Fixed in gradio 2.5.0.
NVD/CVE DatabaseCVE-2021-43811 affects Sockeye, the open-source sequence-to-sequence framework for Neural Machine Translation built on PyTorch, in versions below 2.3.24. These versions use unsafe YAML loading of model and data configuration files, which can execute arbitrary code embedded in a config file. An attacker must add malicious code to a trained model's config file and convince users to download and run that model, after which the embedded code runs locally.
Fix: The issue is fixed in version 2.3.24.
CVE-2021-43775 affects Aim, an open-source, self-hosted machine learning experiment tracking tool, in versions prior to 3.1.0. The flaw is a path traversal vulnerability: attackers can manipulate variables referencing files with "dot-dot-slash (../)" sequences or variations, or use absolute file paths, to access arbitrary files and directories on the file system, including application source code, configuration, and critical system files.
Fix: The vulnerability issue is resolved in Aim v3.1.0.
TensorFlow's `saved_model_cli` tool calls `eval` on user-supplied strings, which allows code injection. An attacker can run arbitrary code on the platform where the CLI runs, though the maintainers note the impact is limited because the tool is always run manually.
Fix: Patched by adding a `safe` flag that defaults to `True`, plus an explicit warning for users. The fix will be included in TensorFlow 2.7.0 and cherry-picked to TensorFlow 2.6.1, 2.5.2 and 2.4.4.
CVE-2021-41227 affects TensorFlow versions where the `ImmutableConst` operation can be tricked into reading arbitrary memory contents. The operation does not support memory mapped `tstring` strings, which the TensorFlow string class handles as a special case.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseTensorFlow's Grappler optimizer contains an uninitialized variable use in affected versions. If the train_nodes vector, taken from the saved model being optimized, has no Dequeue node, dequeue_node is left uninitialized.
Fix: Fixed in TensorFlow 2.7.0. The fix will also be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseCVE-2021-41222 affects TensorFlow's implementation of `SplitV`. When an attacker supplies negative arguments, specifically when `size_splits` contains more than one value and at least one value is negative, the function can trigger a segfault.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseCVE-2021-41221 affects the shape inference code for the `Cudnn*` operations in TensorFlow, in affected versions. The ranks of the `input`, `input_h` and `input_c` parameters are not validated, though the code assumes fixed values, so an attacker can trick it into accessing invalid memory through a heap buffer overflow.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
CVE-2021-41220 affects TensorFlow, an open source machine learning platform. In affected versions, the async implementation of `CollectiveReduceV2` has a memory leak and a use after free, caused by asynchronous computation and by accessing objects after they have been `std::move()`d from. The weakness is classified as CWE-416.
Fix: The fix will be included in TensorFlow 2.7.0, and the commit will also be cherrypicked onto TensorFlow 2.6.1, the only other affected version.
TensorFlow's shape inference function for `Transpose` contains a heap buffer overflow in affected versions. It occurs whenever `perm` contains negative elements, because the function does not validate that the indices in `perm` are all valid.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseTensorFlow's `tf.function` API can deadlock when two `tf.function`-decorated Python functions are mutually recursive, because the code uses a non-reentrant `Lock` object. Loading any model that contains such mutually recursive functions is vulnerable. An attacker can cause denial of service by getting users to load such a model and call a recursive `tf.function`, though this is not a frequent scenario.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
CVE-2021-41218 affects TensorFlow's shape inference code for `AllToAll`. When the `split_count` argument is 0, the code can execute a division by zero (CWE-369).
Fix: Fixed in TensorFlow 2.7.0. The commit is also cherry-picked to TensorFlow 2.6.1, 2.5.2 and 2.4.4.
NVD/CVE DatabaseCVE-2021-41209 affects TensorFlow, an open source machine learning platform. In affected versions, the implementations of convolution operators trigger a division by 0 when passed empty filter tensor arguments. The CWE classification is CWE-369 (Divide By Zero).
Fix: The fix will be included in TensorFlow 2.7.0. The commit is also to be cherrypicked onto TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
CVE-2021-41208 affects TensorFlow's boosted trees code, which lacks input validation in affected versions. An attacker can trigger denial of service by dereferencing nullptrs or through CHECK-failures, and can also read and write heap buffers depending on the API and arguments used.
Fix: The fix will be included in TensorFlow 2.7.0. The fix will also be cherry-picked to TensorFlow 2.6.1, 2.5.2, and 2.4.4. In the interim, the source recommends no longer using the boosted trees APIs, which areā¦
CVE-2021-41207 affects TensorFlow, an open source machine learning platform. In affected versions, the `ParallelConcat` implementation lacks some input validation and can produce a division by 0.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, which are also affected and still in supported range.
NVD/CVE DatabaseTensorFlow operations in affected versions lack validation of the shapes of their tensor arguments. Depending on the API, this can cause undefined behavior, segfaults, or CHECK-fail crashes, and in some scenarios reads and writes to heap-populated arrays. The issues were found internally through tooling while testing GPU op determinism, and no reproducers exist.
Fix: Fixes will be included in TensorFlow 2.7.0. The commits will also be cherry-picked onto TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, which are affected and still in supported range.
TensorFlow's `tf.range` kernel computes the output size with a conditional of type `int64 = condition ? int64 : double`. C++ implicit conversion casts both branches to `double` and truncates the result before assignment, causing overflows in affected versions.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseCVE-2021-41226 affects TensorFlow versions where the `SparseBinCount` implementation performs a heap out-of-bounds access. The cause is missing validation between the elements of the `values` argument and the shape of the sparse output.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseCVE-2021-41224 affects TensorFlow versions where the implementation of `SparseFillEmptyRows` can trigger a heap out-of-bounds access. This occurs whenever the size of `indices` does not match the size of `values`. The weakness is classified as CWE-125 (Out-of-bounds Read).
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseCVE-2021-41223 affects TensorFlow versions where the `FusedBatchNorm` kernels allow a heap out-of-bounds access (CWE-125, Out-of-bounds Read). The flaw is classified under GitHub's advisory GHSA-f54p-f6jp-4rhr and was published to NVD on 11/05/2021.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, which are also affected and still in supported range.