{"data":{"id":"da060b8d-2a3d-4eae-8757-acb862e09d2e","title":"CVE-2022-41911: TensorFlow is an open source platform for machine learning. When printing a tensor, we get it's data as a `const char*`…","summary":"TensorFlow's tensor printing code reads tensor data as a `const char*` array and casts it to the element type. Converting a `char` to `bool` is undefined behavior when the value is neither `0` nor `1`, so sanitizers and fuzzers crash. The flaw is tracked as CVE-2022-41911.","solution":"The issue is patched in GitHub commit `1be74370327`. The fix will be included in TensorFlow 2.11.0 and cherry-picked to TensorFlow 2.10.1, TensorFlow 2.9.3 and TensorFlow 2.8.4.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-41911","publishedAt":"2022-11-19T03:15:22.743Z","cveId":"CVE-2022-41911","cweIds":["CWE-704"],"cvssScore":"4.8","cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["tensorflow@< 2.8.4 (fixed: 2.8.4)","tensorflow-cpu@>= 2.9.0, < 2.9.3 (fixed: 2.9.3)","tensorflow-gpu@>= 2.10.0, < 2.10.1 (fixed: 2.10.1)","tensorflow@>= 2.9.0, < 2.9.3 (fixed: 2.9.3)","tensorflow@>= 2.10.0, < 2.10.1 (fixed: 2.10.1)","tensorflow-cpu@< 2.8.4 (fixed: 2.8.4)","tensorflow-gpu@< 2.8.4 (fixed: 2.8.4)","tensorflow-gpu@>= 2.9.0, < 2.9.3 (fixed: 2.9.3)","tensorflow-cpu@>= 2.10.0, < 2.10.1 (fixed: 2.10.1)"],"affectedPackageNames":["tensorflow","tensorflow-cpu","tensorflow-gpu"],"affectedPackageRefs":["pypi:tensorflow","pypi:tensorflow-cpu","pypi:tensorflow-gpu"],"affectedVendors":["Google"],"affectedVendorsRaw":["TensorFlow"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"TensorFlow tensor printing undefined behavior from invalid bool conversion","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00444,"epssCheckedAt":"2026-11-04T18:09:13.788Z","kevDateAdded":null,"advisoryAliases":["GHSA-pf36-r9c6-h97j"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:57:22.407Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2022-11-16T18:44:24.219Z","daysToFix":-3,"fixCheckedAt":"2026-10-29T21:47:30.263Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.10.1","matchedVersion":"2.10.1","fixReleasedAt":"2022-11-16T20:03:56.467Z","daysToFix":-3,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:47:30.106Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.8.4","matchedVersion":"2.8.4","fixReleasedAt":"2022-11-16T18:46:03.386Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:47:30.106Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.8.4","matchedVersion":"2.8.4","fixReleasedAt":"2022-11-16T18:51:04.818Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:47:30.106Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.9.3","matchedVersion":"2.9.3","fixReleasedAt":"2022-11-16T19:25:59.532Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:47:30.106Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.10.1","matchedVersion":"2.10.1","fixReleasedAt":"2022-11-16T20:10:45.110Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:47:30.106Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.10.1","matchedVersion":"2.10.1","fixReleasedAt":"2022-11-16T20:05:33.350Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:47:30.106Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.9.3","matchedVersion":"2.9.3","fixReleasedAt":"2022-11-16T19:31:25.640Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:47:30.106Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.9.3","matchedVersion":"2.9.3","fixReleasedAt":"2022-11-16T19:24:11.468Z","daysToFix":-3,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:47:30.106Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.8.4","matchedVersion":"2.8.4","fixReleasedAt":"2022-11-16T18:44:24.219Z","daysToFix":-3,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:47:30.106Z"}]}}