Search
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
1,481 items
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.
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.