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
CVE-2022-21740 is a heap overflow in the implementation of `SparseCountSparseOutput` in TensorFlow, an open source machine learning framework. The source lists TensorFlow 2.7.1, 2.6.3 and 2.5.3 as also affected, alongside the version in which the fix is included.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, TensorFlow 2.6.3 and TensorFlow 2.5.3.
NVD/CVE DatabaseCVE-2022-21739 affects TensorFlow's `QuantizedMaxPool` implementation. User-controlled inputs can trigger undefined behavior in which a reference binds to a null pointer, classified as CWE-476 (NULL Pointer Dereference). The source states that TensorFlow 2.7.1, 2.6.3 and 2.5.3 are also affected and still within the supported range.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, 2.6.3 and 2.5.3.
CVE-2022-21738 affects TensorFlow's implementation of `SparseCountSparseOutput`. An integer overflow in that code can crash a TensorFlow process, and the overflowed result is then used in a memory allocation. The source lists TensorFlow 2.7.1, 2.6.3 and 2.5.3 as also affected.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, 2.6.3 and 2.5.3.
NVD/CVE DatabaseCVE-2022-21737 affects the `*Bincount` operations in TensorFlow, an open source machine learning framework. Malicious users can pass arguments that trigger a `CHECK` failure, causing a denial of service, because some input conditions are not caught during shape inference or kernel implementation.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
Multiple operations in TensorFlow can be triggered to cause a denial of service through CHECK-fails, which are assertion failures. The issue is similar to TFSA-2021-198, and the maintainers patched the reported instances in several GitHub commits while noting that other similar instances may exist.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
CVE-2022-21735 affects TensorFlow's `FractionalMaxPool` implementation. A division by 0 in that code can crash a TensorFlow process. The source says the fix will be included in TensorFlow 2.8.0, and that the same commit will be cherry-picked to TensorFlow 2.7.1, 2.6.3 and 2.5.3, which it describes as affected and still in supported range.
Fix: Fixed in TensorFlow 2.8.0. The same commit will also be cherry-picked to TensorFlow 2.7.1, 2.6.3 and 2.5.3.
CVE-2022-21734 affects TensorFlow's `MapStage` implementation. A `CHECK`-fail occurs when the key tensor is not a scalar, which crashes the process. The fix is included in TensorFlow 2.8.0 and is also cherry-picked to TensorFlow 2.7.1, 2.6.3, and 2.5.3, which the source identifies as affected and still in supported range.
Fix: Fixed in TensorFlow 2.8.0. The fix is also cherry-picked to TensorFlow 2.7.1, 2.6.3, and 2.5.3.
CVE-2022-21729 affects TensorFlow's implementation of `UnravelIndex`. An integer overflow bug there leads to a division by zero. The source states that TensorFlow 2.7.1, 2.6.3 and 2.5.3 are also affected and within their supported range.
Fix: Fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, 2.6.3 and 2.5.3.
NVD/CVE DatabaseTensorFlow's cost estimator for some convolution operations can be made to execute a division by 0. The function fails to check that the stride argument is strictly positive.
Fix: The fix adds a check on the stride argument to ensure it is valid. It will be included in TensorFlow 2.8.0, and the same commit will be cherry-picked to TensorFlow 2.7.1, 2.6.3 and 2.5.3, which are also affected and…
NVD/CVE DatabaseTensorFlow's implementation of `AddManySparseToTensorsMap` is vulnerable to an integer overflow. The overflow causes a `CHECK`-fail when new `TensorShape` objects are built, enabling a denial of service through an assert failure. The flaw stems from missing validation of input tensor shapes and from constructing a large `TensorShape` directly from user-provided dimensions.
Fix: Fixed in TensorFlow 2.8.0. The fix will also be cherry-picked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
TensorFlow's implementations of the `Sparse*Cwise*` ops are vulnerable to integer overflows. An attacker can trigger large allocations, causing out-of-memory denial of service, or cause `CHECK`-fails when building new `TensorShape` objects, causing assert-failure denial of service. The root cause is missing validation of input tensor shapes and direct construction of large `TensorShape` objects from user-provided dimensions.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
CVE-2022-21736 affects TensorFlow's `SparseTensorSliceDataset` implementation, which has undefined behavior that can be made to dereference a `nullptr`. The three input arguments represent a sparse tensor and must meet preconditions that the implementation does not validate.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, 2.6.3, and 2.5.3.
NVD/CVE DatabaseCVE-2022-21733 affects the `StringNGrams` implementation in TensorFlow, an open source machine learning framework. Missing validation on `pad_witdh` lets a negative value reach `ngram_width`, which is later used to allocate parts of the output, causing an integer overflow and an out of memory condition that enables denial of service.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
CVE-2022-21732 affects TensorFlow's `ThreadPoolHandle` implementation. The `num_threads` argument is only checked to be non-negative and has no upper bound, so an attacker can trigger a denial of service by forcing excessive memory allocation. The weakness is classified as CWE-770, Allocation of Resources Without Limits or Throttling.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, which are also affected and still in supported range.
CVE-2022-21731 affects TensorFlow's shape inference for `ConcatV2`. A type confusion lets an attacker trigger a segfault, causing a denial of service. The `min_rank` value, computed from `axis` as a 32-bits integer, is compared against a 64-bits lower bound in `WithRankAtLeast`, so a negative `rank` bypasses the check.
Fix: Fixed in TensorFlow 2.8.0. The fix will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
CVE-2022-21730 affects TensorFlow's implementation of `FractionalAvgPoolGrad`. The code does not check whether input tensors are invalid, which lets an attacker read outside the bounds of the heap.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, which the source identifies as affected and still in supported range.
NVD/CVE DatabaseTensorFlow's shape inference for `ReverseSequence` does not validate negative values of `batch_dim`, allowing a heap out-of-bounds read. When the value is too negative, the `Dim` implementation accesses elements before the start of an array.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
NVD/CVE DatabaseTensorFlow's shape inference for `Dequantize` contains an integer overflow flaw. The `axis` argument can be `-1` or any positive value up to the input's number of dimensions, but the upper bound is never checked, and the code computes `axis + 1`, so an attacker can trigger the overflow.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherry-picked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
NVD/CVE DatabaseTensorFlow's implementation of `Dequantize` does not fully validate the `axis` argument. The upper bound on `axis` is never checked, so the code reads past the end of the array holding the input tensor's dimensions, causing heap out-of-bounds accesses.
Fix: The fix will be included in TensorFlow 2.8.0. The commit will also be cherrypicked to TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3.
NVD/CVE DatabaseCVE-2021-4118 describes Deserialization of Untrusted Data (CWE-502) in pytorch-lightning, reported through huntr.dev. The NVD published the entry on 12/23/2021 and last modified it on 11/21/2024, and the NVD assessment has not yet been provided. The source text does not list the affected versions or describe how an attacker reaches the flaw.
Fix: The source links a commit in the pytorch-lightning GitHub repository (62f1e82e032eb16565e676d39e0db0cac7e34ace) tagged as a patch, but does not state a fixed version or describe the change.