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,519 items
TensorFlow versions before 2.3.1 have a flaw in the `RaggedCountSparseOutput` implementation, which does not check that its inputs form a valid ragged tensor, in particular that the `splits` tensor partitions the `values` tensor correctly. Because of this, the code can cause a heap buffer overflow. If the first element of `splits_values` is not 0, accessing a missing hashmap in `per_batch_counts` from user code causes a segmentation fault.
Fix: The issue is patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and released in TensorFlow version 2.3.1.
NVD/CVE DatabaseIn TensorFlow before 2.3.1, `RaggedCountSparseOutput` does not validate that its input arguments form a valid ragged tensor, and it does not check that the `splits` tensor has the minimum required number of elements. If a user passes an empty `splits` tensor or one with exactly one element, the `BatchedMap` structure initialized from it becomes `nullptr`, and the operating system raises a `SIGABRT` signal, crashing the process.
Fix: Patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and released in TensorFlow version 2.3.1.
CVE-2020-15198 affects TensorFlow before version 2.3.1. The `SparseCountSparseOutput` implementation does not check that the `indices` and `values` tensors have matching shapes, and because both are read in parallel, a mismatch can cause accesses outside the bounds of heap-allocated buffers.
Fix: Fixed in TensorFlow version 2.3.1, patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02.
NVD/CVE DatabaseIn TensorFlow before 2.3.1, the `SparseCountSparseOutput` implementation does not check that its input forms a valid sparse tensor, and in particular does not verify that the `indices` tensor has rank 2. A malicious user can pass a tensor of a different rank, triggering a `CHECK` assertion failure and a crash. Where users can control the components of the input sparse tensor, this enables denial of service in serving installations.
Fix: The issue is patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and released in TensorFlow version 2.3.1.
CVE-2020-15196 affects TensorFlow 2.3.0. The `SparseCountSparseOutput` and `RaggedCountSparseOutput` implementations do not check that the `weights` tensor matches the shape of the data, unlike `DenseCountSparseOutput`. An attacker who passes fewer weights than values can trigger a read outside the bounds of the heap buffer allocated for the weights.
Fix: The issue is patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and released in TensorFlow version 2.3.1.
CVE-2020-15195 affects TensorFlow versions before 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1. In `SparseFillEmptyRowsGrad`, a double indexing pattern lets `reverse_index_map(i)` point outside the bounds of `grad_values`, causing a heap buffer overflow.
Fix: Patched in commit 390611e0d45c5793c7066110af37c8514e6a6c54 and released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 or 2.3.1.
NVD/CVE DatabaseCVE-2020-15194 affects TensorFlow versions before 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1. In the `SparseFillEmptyRowsGrad` implementation, only `reverse_index_map_t` has its shape validated, while `grad_values_t` is accessed in a similar pattern without validation. A malicious user can pass a bad `grad_values_t` to trigger an assertion failure in `vec`, causing denial of service in serving installations.
Fix: The issue is patched in commit 390611e0d45c5793c7066110af37c8514e6a6c54 and released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
TensorFlow versions before 2.2.1 and 2.3.1 have a flaw in `dlpack.to_dlpack`. The pybind11 glue code assumes its argument is a tensor, but nothing stops callers from passing a Python object, so a `reinterpret_cast` produces a pointer to uninitialized memory, leading to further memory corruption.
Fix: The issue is patched in commit 22e07fb204386768e5bcbea563641ea11f96ceb8 and released in TensorFlow versions 2.2.1 and 2.3.1.
Tensorflow versions before 2.2.1 and 2.3.1 leak memory when a user passes a list of strings to `dlpack.to_dlpack`. The leak follows an expected validation failure because the `status` argument is not checked after the methods that can return an error status.
Fix: The issue is patched in commit 22e07fb204386768e5bcbea563641ea11f96ceb8 and is released in TensorFlow versions 2.2.1 or 2.3.1.
NVD/CVE DatabaseCVE-2020-15191 affects TensorFlow versions before 2.2.1 and 2.3.1. When a user passes an invalid argument to `dlpack.to_dlpack`, validation code binds variables to `nullptr` and sets a `status` variable to the error, but the `status` value is never checked. Code that follows then binds references to null pointers, which is undefined behavior that the `-fsanitize=null` compiler option reports as an error.
Fix: Fixed in TensorFlow versions 2.2.1 and 2.3.1, via commit 22e07fb204386768e5bcbea563641ea11f96ceb8.
CVE-2020-15190 affects TensorFlow versions before 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1. In the eager runtime, the `tf.raw_ops.Switch` operation traverses all of its outputs, although one output is `nullptr` depending on the boolean input, so the code binds a reference to `nullptr`. This undefined behavior causes a segmentation fault.
Fix: The issue is patched in commit da8558533d925694483d2c136a9220d6d49d843c and released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
CVE-2018-21233 affects TensorFlow before 1.7.0. An integer overflow in the DecodeBmp feature of the BMP decoder, in core/kernels/decode_bmp_op.cc, causes an out-of-bounds read. The source says this could disclose the contents of process memory. The weakness is classified as CWE-125, and NVD has not yet provided an assessment.
Fix: The source links a TensorFlow security advisory (tfsa-2018-001.md) and a patch commit (49f73c55d56edffebde4bca4a407ad69c1cae433), but does not state a fixed version or workaround in the text provided.
CVE-2020-5215 affects TensorFlow before 1.15.2 and 2.0.1. Converting a string from Python to a tf.float16 value causes a segmentation fault in eager mode, because the format checks exist only in graph mode. An attacker can trigger a denial of service during inference or training by supplying a string where a tf.float16 value is expected, or by replacing a scalar tf.float16 value with a scalar string in saved models and checkpoints. The issue reproduces with tf.constant("hello", tf.float16) when eager execution is enabled.
CVE-2019-16778 affects TensorFlow before 1.15. When the Index template argument is int32, a heap buffer overflow in UnsortedSegmentSum can occur because data_size and num_segments are truncated from int64 to int32, producing negative values that access out-of-bounds heap memory. The source says exploitation is unlikely and that the issue was detected and fixed internally in TensorFlow 1.15 and 2.0.
Fix: Fixed in TensorFlow 1.15 and 2.0, per the source. The linked patch commit is db4f9717c41bccc3ce10099ab61996b246099892.
CVE-2018-7575 affects Google TensorFlow 1.7.x and earlier, which contains a Buffer Overflow vulnerability. The source states that the type of exploitation is context-dependent, and it links CWE-190 (Integer Overflow or Wraparound) and the TensorFlow security advisory tfsa-2018-004. NVD has not yet provided an assessment.
Fix: The source references a Patch in the TensorFlow advisory tfsa-2018-004, but does not state the patched version, configuration change or workaround in the text provided. N/A -- no mitigation discussed in source.
CVE-2019-9635 is a NULL pointer dereference in Google TensorFlow before 1.12.2. An invalid GIF file can trigger it and cause a denial of service. The CWE classification is CWE-476 (NULL Pointer Dereference), and NVD has not yet provided an assessment.
Fix: The source links a patch and the TensorFlow security advisory tfsa-2019-001.md but does not state a fixed version beyond the 'before 1.12.2' range, so the only version given is 1.12.2 and later.
CVE-2018-7577 is a memcpy parameter overlap flaw in the Google Snappy library 1.1.4, as used in Google TensorFlow before 1.7.1. The source says it could result in a crash or a read from other parts of process memory. NVD has not yet provided an assessment, and the weakness is classified as CWE-20, Improper Input Validation.
CVE-2018-8825 affects Google TensorFlow 1.7 and below. The source describes a buffer overflow that allows an attacker to execute arbitrary code locally. The weakness is classified as CWE-119, Improper Restriction of Operations within the Bounds of a Memory Buffer.
Fix: The source links a TensorFlow security advisory (tfsa-2018-003) and lists a Patch tag, but the text does not state a fixed version or specific fix. N/A -- no mitigation discussed in source.
CVE-2018-7576 affects Google TensorFlow 1.6.x and earlier. The flaw is a NULL pointer dereference (CWE-476), and the source describes its exploitation as context-dependent. NIST has not yet provided an NVD assessment.
Fix: The source references the TensorFlow advisory tfsa-2018-002.md and lists a Patch tag, but it does not state a specific fixed version or workaround. N/A -- no mitigation discussed in source.
NVD/CVE DatabaseFix: Patched in TensorFlow 1.15.1 and 2.0.1. TensorFlow 2.1.0 is not affected. Users are encouraged to switch to TensorFlow 1.15.1, 2.0.1 or 2.1.0.