{"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-cqvq-fvhr-v6hc 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-cqvq-fvhr-v6hc is a denial of service vulnerability in tensorflow, published on 21 Nov 2022."},"fix_prompt":"Check this codebase for GHSA-cqvq-fvhr-v6hc and fix it if it is affected.\n\nWhat it is: GHSA-cqvq-fvhr-v6hc is a denial of service vulnerability in tensorflow, published on 21 Nov 2022. \nExploitation: There is no known exploitation of GHSA-cqvq-fvhr-v6hc 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-cqvq-fvhr-v6hc/ (Markdown: https://insights.sbomify.com/GHSA-cqvq-fvhr-v6hc/index.md)","id":"GHSA-cqvq-fvhr-v6hc","markdown":"https://insights.sbomify.com/GHSA-cqvq-fvhr-v6hc/index.md","name":"GHSA-cqvq-fvhr-v6hc","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 missing validation in TensorFlow's SobolSample operation allows attackers to cause a denial of service via crafted 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-35935, where `SobolSample` is vulnerable to a denial of service via assumed scalar inputs, was found and fixed.\n```python\nimport tensorflow as tf\ntf.raw_ops.SobolSample(dim=tf.constant([1,0]), num_results=tf.constant([1]), skip=tf.constant([1]))\n```\n\n### Patches\nWe have patched the issue in GitHub commits [c65c67f88ad770662e8f191269a907bf2b94b1bf](https://github.com/tensorflow/tensorflow/commit/c65c67f88ad770662e8f191269a907bf2b94b1bf) and [02400ea266bd811fc016a848445de1bbff3a23a0](https://github.com/tensorflow/tensorflow/commit/02400ea266bd811fc016a848445de1bbff3a23a0)\n\nThe fix will be included in TensorFlow 2.11. We will also cherrypick both commits on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. TensorFlow 2.7.4 will have the first commit cherrypicked.\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:\n- Kang Hong Jin from Singapore Management University\n- Neophytos Christou, Secure Systems Labs, Brown University\n- 刘力源, Information System \u0026 Security and Countermeasures Experiments Center, Beijing Institute of Technology\n- 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` failure in `SobolSample` via missing validation","id":"GHSA-cqvq-fvhr-v6hc","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-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow","purl":null,"source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow","purl":null,"source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow-cpu","purl":null,"source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow-cpu","purl":null,"source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow-cpu","purl":null,"source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow-gpu","purl":null,"source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow-gpu","purl":null,"source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.10.1"],"introduced":["2.10.0"],"last_affected":[],"package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow-gpu","purl":null,"source":"GHSA-cqvq-fvhr-v6hc"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"GHSA-cqvq-fvhr-v6hc"}],"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 missing validation in TensorFlow's SobolSample operation allows attackers to cause a denial of service via crafted inputs.","url":"https://insights.sbomify.com/GHSA-cqvq-fvhr-v6hc/"}