{"answers":{"affected":"18 open source packages ship an affected version, including tensorflow, tensorflow-cpu and tensorflow-gpu.","exploited":"There is no known exploitation of GHSA-xf83-q765-xm6m in the wild and no public exploit code.","fix":"Upgrade tensorflow to a fixed version for your release line: 2.8.4, 2.10.1 or 2.9.3.","what":"GHSA-xf83-q765-xm6m is a denial of service vulnerability in tensorflow, published on 21 Nov 2022."},"fix_prompt":"Check this codebase for GHSA-xf83-q765-xm6m and fix it if it is affected.\n\nWhat it is: GHSA-xf83-q765-xm6m is a denial of service vulnerability in tensorflow, published on 21 Nov 2022. \nExploitation: There is no known exploitation of GHSA-xf83-q765-xm6m in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tensorflow (PyPI): affected all versions; fixed in 2.8.4\n- tensorflow (PyPI): affected all versions; fixed in 2.8.4\n- tensorflow (PyPI): affected from 2.10.0; fixed in 2.10.1\n- tensorflow (PyPI): affected from 2.10.0; fixed in 2.10.1\n- tensorflow (PyPI): affected from 2.9.0; fixed in 2.9.3\n- tensorflow (PyPI): affected from 2.9.0; fixed in 2.9.3\n- tensorflow-cpu (PyPI): affected all versions; fixed in 2.8.4\n- tensorflow-cpu (PyPI): affected all versions; fixed in 2.8.4\n- tensorflow-cpu (PyPI): affected from 2.10.0; fixed in 2.10.1\n- tensorflow-cpu (PyPI): affected from 2.10.0; fixed in 2.10.1\n- tensorflow-cpu (PyPI): affected from 2.9.0; fixed in 2.9.3\n- tensorflow-cpu (PyPI): affected from 2.9.0; fixed in 2.9.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-xf83-q765-xm6m/ (Markdown: https://insights.sbomify.com/GHSA-xf83-q765-xm6m/index.md)","id":"GHSA-xf83-q765-xm6m","markdown":"https://insights.sbomify.com/GHSA-xf83-q765-xm6m/index.md","name":"GHSA-xf83-q765-xm6m","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"unknown","non_default_config":false,"product_category":"TensorFlow library","requires_auth":"none","summary":"A CHECK failure in TensorFlow's TensorListScatter operations allows attackers to cause a denial of service via crafted non-scalar inputs.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\nAnother instance of CVE-2022-35991, where `TensorListScatter` and `TensorListScatterV2` crash via non scalar inputs in`element_shape`, was found in eager mode and fixed.\n```python\nimport tensorflow as tf\narg_0=tf.random.uniform(shape=(2, 2, 2), dtype=tf.float16, maxval=None)\narg_1=tf.random.uniform(shape=(2, 2, 2), dtype=tf.int32, maxval=65536)\narg_2=tf.random.uniform(shape=(2, 2, 2), dtype=tf.int32, maxval=65536)\narg_3=''\ntf.raw_ops.TensorListScatter(tensor=arg_0, indices=arg_1, \nelement_shape=arg_2, name=arg_3)\n```\n\n### Patches\nWe have patched the issue in GitHub commit [bf9932fc907aff0e9e8cccf769e8b00d30fd81a1](https://github.com/tensorflow/tensorflow/commit/bf9932fc907aff0e9e8cccf769e8b00d30fd81a1).\n\nThe fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.\n\n### For more information\nPlease consult [our security guide](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) for more information regarding the security model and how to contact us with issues and questions.\n\n### Attribution\nThis vulnerability has been reported by Pattarakrit Rattankul","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"`CHECK` fail in `TensorListScatter` and `TensorListScatterV2` in eager mode","id":"GHSA-xf83-q765-xm6m","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":18,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow","purl":null,"source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow","purl":null,"source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow","purl":null,"source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow-cpu","purl":null,"source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow-cpu","purl":null,"source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow-cpu","purl":null,"source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow-gpu","purl":null,"source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow-gpu","purl":null,"source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow-gpu","purl":null,"source":"GHSA-xf83-q765-xm6m"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"GHSA-xf83-q765-xm6m"}],"products":null,"published":"2022-11-21","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A CHECK failure in TensorFlow's TensorListScatter operations allows attackers to cause a denial of service via crafted non-scalar inputs.","url":"https://insights.sbomify.com/GHSA-xf83-q765-xm6m/"}