{"id":"BIT-tensorflow-2022-29203","summary":"Integer overflow in `SpaceToBatchND` in TensorFlow","details":"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.SpaceToBatchND` (in all backends such as XLA and handwritten kernels) is vulnerable to an integer overflow: The result of this integer overflow is used to allocate the output tensor, hence we get a denial of service via a `CHECK`-failure (assertion failure), as in TFSA-2021-198. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.","aliases":["CVE-2022-29203","GHSA-jjm6-4vf7-cjh4","PYSEC-2026-1012","PYSEC-2026-3207","PYSEC-2026-3344"],"modified":"2026-09-08T08:48:20.195067722Z","published":"2024-03-06T11:14:26.405Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2021-198.md"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/commit/acd56b8bcb72b163c834ae4f18469047b001fadf"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-jjm6-4vf7-cjh4"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29203"}],"affected":[{"package":{"name":"tensorflow","ecosystem":"Bitnami","purl":"pkg:bitnami/tensorflow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.6.4"},{"introduced":"2.7.0"},{"fixed":"2.7.2"},{"introduced":"2.8.0"},{"fixed":"2.8.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/tensorflow/BIT-tensorflow-2022-29203.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}],"schema_version":"1.9.0"}