CVE-2022-29204 json
Missing validation causes denial of service in TensorFlow via `Conv3DBackpropFilterV2`
published 2022-05-20 4 y ago modified 2026-09-08 2 mo ago also BIT-tensorflow-2022-29204 , EUVD-2022-4238 , GHSA-hx9q-2mx4-m4pg , PYSEC-2026-1010 , PYSEC-2026-3203 , PYSEC-2026-3342
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.UnsortedSegmentJoin` does not fully validate the input arguments. This results in a `CHECK`-failure which can be used to trigger a denial of service attack. The code assumes `num_segments` is a positive scalar but there is no validation. Since this value is used to allocate the output tensor, a negative value would result in a `CHECK`-failure (assertion failure), as per TFSA-2021-198. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Patch / fix
- pypi tensorflow 2.6.4, 2.7.2, 2.8.1
- pypi tensorflow-cpu 2.6.4, 2.7.2, 2.8.1
- pypi tensorflow-gpu 2.6.4, 2.7.2, 2.8.1
- bitnami tensorflow 2.6.4, 2.7.2, 2.8.1
- google tensorflow 2.6.4, 2.7.2
- github.com/tensorflow/tensorflow@20cb187 commit
- github.com/tensorflow/tensorflow@84563f2 commit
- github.com/tensorflow/tensorflow/releases/tag/v2.6.4 release
- github.com/tensorflow/tensorflow/releases/tag/v2.7.2 release
- github.com/tensorflow/tensorflow/releases/tag/v2.8.1 release
- github.com/tensorflow/tensorflow/releases/tag/v2.9.0 release
- github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advi… advisory
- github.com/tensorflow/tensorflow/security/advisories/GHSA-hx9q-2mx4-m… advisory
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/tensorflow/tensorflow/security/advisories/GHSA-hx9q-2mx4-m4pg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | tensorflow | <2.6.4 >=2.7.0, <2.7.2 >=2.8.0, <2.8.1 |
2.6.4 2.7.2 2.8.1 |
| pypi | tensorflow-cpu | <2.6.4 >=2.7.0, <2.7.2 >=2.8.0, <2.8.1 |
2.6.4 2.7.2 2.8.1 |
| pypi | tensorflow-gpu | <2.6.4 >=2.7.0, <2.7.2 >=2.8.0, <2.8.1 |
2.6.4 2.7.2 2.8.1 |
| bitnami | tensorflow | >=1.15.0, <2.6.4 >=2.7.0, <2.7.2 >=2.8.0, <2.8.1 |
2.6.4 2.7.2 2.8.1 |
Affected products
- tensorflow tensorflow
Classification
References
-
github.com
/tensorflow/tensorflow/commit/20cb18724b0bf6c09071a3f53434c4eec53cc147
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/commit/84563f265f28b3c36a15335c8b005d405260e943
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2021-198.md
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/security/advisories/GHSA-hx9q-2mx4-m4pg
web, exploit, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/releases/tag/v2.6.4
web, release-notes, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/releases/tag/v2.7.2
web, release-notes, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/releases/tag/v2.8.1
web, release-notes, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/releases/tag/v2.9.0
web, release-notes, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/unsorted_segment_
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-29204
advisory, web
-
github.com
/tensorflow/tensorflow
package
-
pypi.org
/project/tensorflow-gpu
package
-
github.com
/advisories/GHSA-hx9q-2mx4-m4pg
advisory
-
pypi.org
/project/tensorflow
package
-
pypi.org
/project/tensorflow-cpu
package
Sources
- CVE List CVE-2022-29204
- GitHub Advisory GHSA-hx9q-2mx4-m4pg
- NVD CVE-2022-29204
- OSV BIT-tensorflow-2022-29204
- OSV PYSEC-2026-1010
- OSV PYSEC-2026-3203
- OSV PYSEC-2026-3342
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.