{"id":"CVE-2022-41908","state":"PUBLISHED","title":"`CHECK` fail via inputs in `PyFunc` in Tensorflow","description":"TensorFlow is an open source platform for machine learning. An input `token` that is not a UTF-8 bytestring will trigger a `CHECK` fail in `tf.raw_ops.PyFunc`. We have patched the issue in GitHub commit 9f03a9d3bafe902c1e6beb105b2f24172f238645. The 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.","publishedAt":"2022-11-18T00:00:00.000Z","updatedAt":"2025-04-22T16:02:59.540Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["tensorflow tensorflow"],"affected":[{"vendor":"tensorflow","product":"tensorflow","versions":[{"version":">= 2.10.0, < 2.10.1","status":"affected"},{"version":">= 2.9.0, < 2.9.3","status":"affected"},{"version":"< 2.8.4","status":"affected"}]}],"references":["https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/lib/core/py_func.cc","https://github.com/tensorflow/tensorflow/security/advisories/GHSA-mv77-9g28-cwg3","https://github.com/tensorflow/tensorflow/commit/9f03a9d3bafe902c1e6beb105b2f24172f238645"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T19:50:37.819Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/41xxx/CVE-2022-41908.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-41908","state":"PUBLISHED","datePublished":"2022-11-18T00:00:00.000Z","dateUpdated":"2025-04-22T16:02:59.540Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-09-30T00:00:00.000Z"},"containers":{"cna":{"title":"`CHECK` fail via inputs in `PyFunc` in Tensorflow","descriptions":[{"lang":"en","value":"TensorFlow is an open source platform for machine learning. An input `token` that is not a UTF-8 bytestring will trigger a `CHECK` fail in `tf.raw_ops.PyFunc`. We have patched the issue in GitHub commit 9f03a9d3bafe902c1e6beb105b2f24172f238645. The 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."}],"affected":[{"vendor":"tensorflow","product":"tensorflow","versions":[{"version":">= 2.10.0, < 2.10.1","status":"affected"},{"version":">= 2.9.0, < 2.9.3","status":"affected"},{"version":"< 2.8.4","status":"affected"}]}],"references":[{"url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/lib/core/py_func.cc"},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-mv77-9g28-cwg3"},{"url":"https://github.com/tensorflow/tensorflow/commit/9f03a9d3bafe902c1e6beb105b2f24172f238645"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":4.8,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","type":"CWE","lang":"en","description":"CWE-20: Improper Input Validation"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2022-11-18T00:00:00.000Z"},"source":{"advisory":"GHSA-mv77-9g28-cwg3","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/lib/core/py_func.cc","tags":["x_transferred"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-mv77-9g28-cwg3","tags":["x_transferred"]},{"url":"https://github.com/tensorflow/tensorflow/commit/9f03a9d3bafe902c1e6beb105b2f24172f238645","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T12:56:38.348Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:41:38.521380Z","id":"CVE-2022-41908","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-22T16:02:59.540Z"}}]}}}