<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 06 Oct 2026 06:54:39 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-21731 — Type confusion leading to segfault in Tensorflow</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2022-21731</link>
      <description>&lt;p&gt;Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `ConcatV2` can be used to trigger a denial of service attack via a segfault caused by a type confusion. The `axis` argument is translated into `concat_dim` in the `ConcatShapeHelper` helper function. Then, a value for `min_rank` is computed based on `concat_dim`. This is then used to validate that the `values` tensor has at least the required rank. However, `WithRankAtLeast` receives the lower bound as a 64-bits value and then compares it against the maximum 32-bits integer value that could be represented. Due to the fact that `min_rank` is a 32-bits value and the value of `axis`, the `rank` argument is a negative value, so the error check is bypassed. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `ConcatV2` can be used to trigger a denial of service attack via a segfault caused by a type confusion. The `axis` argument is translated into `concat_dim` in the `ConcatShapeHelper` helper function. Then, a value for `min_rank` is computed based on `concat_dim`. This is then used to validate that the `values` tensor has at least the required rank. However, `WithRankAtLeast` receives the lower bound as a 64-bits value and then compares it against the maximum 32-bits integer value that could be represented. Due to the fact that `min_rank` is a 32-bits value and the value of `axis`, the `rank` argument is a negative value, so the error check is bypassed. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2022-21731</guid>
    </item>
    <item>
      <title>GHSA-m4hf-j54p-p353 — Type confusion leading to segfault in Tensorflow</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-m4hf-j54p-p353</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: tensorflow, PyPI: tensorflow-cpu, PyPI: tensorflow-gpu&lt;/p&gt;
&lt;p&gt;### Impact 
The [implementation of shape inference for `ConcatV2`](https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/framework/common_shape_fns.cc#L1961-L2059) can be used to trigger a denial of service attack via a segfault caused by a type confusion:&lt;/p&gt;
&lt;p&gt;```python
import tensorflow as tf&lt;/p&gt;
&lt;p&gt;@tf.function
def test():
  y = tf.raw_ops.ConcatV2(
    values=[[1,2,3],[4,5,6]],
    axis = 0xb500005b)
  return y&lt;/p&gt;
&lt;p&gt;test()
```&lt;/p&gt;
&lt;p&gt;The `axis` argument is translated into `concat_dim` in the `ConcatShapeHelper` helper function. Then, a value for `min_rank` is computed based on `concat_dim`. This is then used to validate that the `values` tensor has at least the required rank:&lt;/p&gt;
&lt;p&gt;```cc
  int64_t concat_dim;
  if (concat_dim_t-&amp;gt;dtype() == DT_INT32) {
    concat_dim = static_cast&amp;lt;int64_t&amp;gt;(concat_dim_t-&amp;gt;flat&amp;lt;int32&amp;gt;()(0));
  } else {
    concat_dim = concat_dim_t-&amp;gt;flat&amp;lt;int64_t&amp;gt;()(0);
  }&lt;/p&gt;
&lt;p&gt;// Minimum required number of dimensions.
  const int min_rank = concat_dim &amp;lt; 0 ? -concat_dim : concat_dim + 1;&lt;/p&gt;
&lt;p&gt;// ...
  ShapeHandle input = c-&amp;gt;input(end_value_index - 1);
  TF_RETURN_IF_ERROR(c-&amp;gt;WithRankAtLeast(input, min_rank, &amp;amp;input));
```&lt;/p&gt;
&lt;p&gt;However, [`WithRankAtLeast`](https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/framework/shape_inference.cc#L345-L358) receives the lower bound as a 64-bits value and then compares it against the maximum 32-bits integer value that could be represented:&lt;/p&gt;
&lt;p&gt;```cc
Status In…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: tensorflow, PyPI: tensorflow-cpu, PyPI: tensorflow-gpu&lt;/p&gt;
&lt;p&gt;### Impact 
The [implementation of shape inference for `ConcatV2`](https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/framework/common_shape_fns.cc#L1961-L2059) can be used to trigger a denial of service attack via a segfault caused by a type confusion:&lt;/p&gt;
&lt;p&gt;```python
import tensorflow as tf&lt;/p&gt;
&lt;p&gt;@tf.function
def test():
  y = tf.raw_ops.ConcatV2(
    values=[[1,2,3],[4,5,6]],
    axis = 0xb500005b)
  return y&lt;/p&gt;
&lt;p&gt;test()
```&lt;/p&gt;
&lt;p&gt;The `axis` argument is translated into `concat_dim` in the `ConcatShapeHelper` helper function. Then, a value for `min_rank` is computed based on `concat_dim`. This is then used to validate that the `values` tensor has at least the required rank:&lt;/p&gt;
&lt;p&gt;```cc
  int64_t concat_dim;
  if (concat_dim_t-&amp;gt;dtype() == DT_INT32) {
    concat_dim = static_cast&amp;lt;int64_t&amp;gt;(concat_dim_t-&amp;gt;flat&amp;lt;int32&amp;gt;()(0));
  } else {
    concat_dim = concat_dim_t-&amp;gt;flat&amp;lt;int64_t&amp;gt;()(0);
  }&lt;/p&gt;
&lt;p&gt;// Minimum required number of dimensions.
  const int min_rank = concat_dim &amp;lt; 0 ? -concat_dim : concat_dim + 1;&lt;/p&gt;
&lt;p&gt;// ...
  ShapeHandle input = c-&amp;gt;input(end_value_index - 1);
  TF_RETURN_IF_ERROR(c-&amp;gt;WithRankAtLeast(input, min_rank, &amp;amp;input));
```&lt;/p&gt;
&lt;p&gt;However, [`WithRankAtLeast`](https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/framework/shape_inference.cc#L345-L358) receives the lower bound as a 64-bits value and then compares it against the maximum 32-bits integer value that could be represented:&lt;/p&gt;
&lt;p&gt;```cc
Status In…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-m4hf-j54p-p353</guid>
    </item>
  </channel>
</rss>
