{"id":"CVE-2023-33976","published":"2024-07-30T19:27:14Z","modified":"2024-08-02T15:54:14Z","title":"TensorFlow segfault in array_ops.upper_bound","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an end-to-end open source platform for machine learning. `array_ops.upper_bound` causes a segfault when not given a rank 2 tensor. The fix will be included in TensorFlow 2.13 and will also cherrypick this commit on TensorFlow 2.12.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00432,"percentile":0.38387,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gjh7-xx4r-x345","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/6fa05df43b00038b048f4f0e51ef522da6532fec","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/commit/915884fdf5df34aaedd00fc6ace33a2cfdefa586","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":7.68},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 2.13.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-01T20:13:44.817399Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.12.1"],"patched":["2.12.1"],"from":["GHSA-gjh7-xx4r-x345","PYSEC-2026-3190"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.12.1"],"patched":["2.12.1"],"from":["GHSA-gjh7-xx4r-x345","PYSEC-2026-3331"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.12.1"],"patched":["2.12.1"],"from":["GHSA-gjh7-xx4r-x345","PYSEC-2026-1962"],"provenance":"source"}],"summary":{"text":"The TensorFlow array_ops.upper_bound function contains a flaw that causes a segfault when it is passed a tensor that is not of rank 2. An attacker with network access can trigger the crash without authentication or user interaction, by supplying input that reaches this function with a non-rank-2 tensor.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:12Z"},"euvd":{"id":"EUVD-2024-2351","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2021-37670","parents":[{"from":"CVE-2021-37670","to":"CVE-2023-33976","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/searchsorted_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/42459e4273c2e47a3232cc16c4f4fff3b3a35c38","https://github.com/tensorflow/tensorflow/commit/6fa05df43b00038b048f4f0e51ef522da6532fec","https://github.com/tensorflow/tensorflow/commit/915884fdf5df34aaedd00fc6ace33a2cfdefa586"],"basis":"shared function","functions":["LowerBoundOp","UpperBoundOp"]}]},{"from":"CVE-2022-35965","to":"CVE-2023-33976","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/searchsorted_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/bce3717eaef4f769019fd18e990464ca4a2efeea","https://github.com/tensorflow/tensorflow/commit/6fa05df43b00038b048f4f0e51ef522da6532fec","https://github.com/tensorflow/tensorflow/commit/915884fdf5df34aaedd00fc6ace33a2cfdefa586"],"basis":"shared function","functions":["LowerBoundOp","UpperBoundOp"]}]}]}}