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.
4,436 items
CVE-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.
NVD/CVE DatabaseCVE-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-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.
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…
TensorFlow 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.
CVE-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.
TensorFlow's sparse matrix multiplication code binds a reference to nullptr when the dimensions of a or b are 0 or less. This is undefined behavior, and writing to the resulting empty output tensor can cause a heap out-of-bounds access.
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-41214 affects TensorFlow versions where the shape inference code for `tf.ragged.cross` binds a reference to `nullptr`, causing undefined behavior. The flaw is tracked as CWE-824, Access of Uninitialized Pointer, and the NVD record was published 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.
NVD/CVE DatabaseCVE-2021-41212 affects TensorFlow, an open source platform for machine learning. In affected versions, the shape inference code for `tf.ragged.cross` can trigger an out-of-bounds read of a heap-allocated array, classified as CWE-125.
Fix: The fix will be included in TensorFlow 2.7.0. The commit will also be cherry-picked onto TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseCVE-2021-41211 affects TensorFlow. The shape inference code for `QuantizeV2` performs a heap out-of-bounds read whenever `axis` is a negative value less than `-1`, because the code assumes `axis` is a valid index into the `input` tensor's dimensions. The fix will be included in TensorFlow 2.7.0 and cherry-picked to TensorFlow 2.6.1, the only other affected version.
Fix: Fixed in TensorFlow 2.7.0; the fix will also be cherry-picked to TensorFlow 2.6.1.
CVE-2021-41205 affects TensorFlow, where the shape inference functions for the `QuantizeAndDequantizeV*` operations can trigger a read outside the bounds of a heap-allocated array. The flaw is classified as CWE-125 (Out-of-bounds Read), and the NVD record was published on 11/05/2021.
Fix: The fix will be included in TensorFlow 2.7.0. The same commit will also be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, which the source says are also affected and still in supported range.
TensorFlow's checkpoint loading infrastructure lacks validation for invalid file formats. An attacker who can modify saved checkpoints from outside TensorFlow can trigger undefined behavior, integer overflows, segfaults and CHECK-fail crashes in affected versions.
Fix: The fixes will be included in TensorFlow 2.7.0. The commits will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.
NVD/CVE DatabaseCVE-2021-41210 affects TensorFlow, an open source machine learning platform. In affected versions, the shape inference functions for `SparseCountSparseOutput` can trigger an out-of-bounds read of a heap allocated array, classified as CWE-125.
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 DatabaseTensorFlow's `EinsumHelper::ParseEquation()` is meant to set the `input_has_ellipsis` flags and the `*output_has_ellipsis` boolean to true or false, depending on whether an ellipsis appears. The function only ever sets these flags to `true` and never to `false`. Callers that assume the function always sets them therefore read uninitialized variables.
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, which are affected and still in supported range.
Rasa, an open source machine learning framework for text and voice conversations, has a vulnerability in its function that loads trained model `tar.gz` files. A malicious actor can craft a `model.tar.gz` file that overwrites or replaces bot files in the bot directory.
Fix: The vulnerability is fixed in Rasa 2.8.10. For users unable to update, ensure that users do not upload untrusted model files, and restrict CLI or API endpoint access where a malicious actor could target a deployed Rasa…
ParlAI, a framework for training and evaluating AI models on open dialogue datasets, is vulnerable to a YAML deserialization attack in affected versions. The flaw comes from unsafe loading, which leads to arbitrary code execution.
Fix: Patched by avoiding unsafe loading; users should update to version above v1.1.0. If upgrading is not possible, change the Loader to SafeLoader as a workaround.
NVD/CVE Database