{"data":{"id":"1f01f4bf-26ba-4701-9166-dbe83c213338","title":"CVE-2021-41195: TensorFlow is an open source platform for machine learning. In affected versions the implementation of…","summary":"TensorFlow's tf.math.segment_* operations, on both CPU and GPU, abort with a CHECK failure when a segment id in segment_ids is large, causing denial of service. The output shape is computed with AddDim, which fails with a std::abort if the tensor's element count overflows an int64_t. The source attributes the issue to similarity with CVE-2021-29584 and other localized TensorFlow API reports.","solution":"The fix will be included in TensorFlow 2.7.0. The commit will also be cherrypicked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, which are affected and still in supported range. The source states that code should use AddDimWithStatus instead of AddDim.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-41195","publishedAt":"2021-11-06T00:15:07.707Z","cveId":"CVE-2021-41195","cweIds":["CWE-190","CWE-190"],"cvssScore":"5.5","cvssSeverity":"medium","severity":"medium","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["tensorflow@>= 2.6.0, < 2.6.1 (fixed: 2.6.1)","tensorflow@>= 2.5.0, < 2.5.2 (fixed: 2.5.2)","tensorflow@< 2.4.4 (fixed: 2.4.4)","tensorflow-cpu@>= 2.6.0, < 2.6.1 (fixed: 2.6.1)","tensorflow-cpu@>= 2.5.0, < 2.5.2 (fixed: 2.5.2)","tensorflow-cpu@< 2.4.4 (fixed: 2.4.4)","tensorflow-gpu@>= 2.6.0, < 2.6.1 (fixed: 2.6.1)","tensorflow-gpu@>= 2.5.0, < 2.5.2 (fixed: 2.5.2)","tensorflow-gpu@< 2.4.4 (fixed: 2.4.4)"],"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 denial of service in tf.math.segment_* operations","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00212,"epssCheckedAt":"2026-11-04T18:09:14.876Z","kevDateAdded":null,"advisoryAliases":["GHSA-cq76-mxrc-vchh"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:59:16.046Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2021-11-01T20:00:24.697Z","daysToFix":-5,"fixCheckedAt":"2026-10-29T21:50:12.350Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.5.2","matchedVersion":"2.5.2","fixReleasedAt":"2021-11-01T20:39:19.248Z","daysToFix":-5,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:12.186Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.6.1","matchedVersion":"2.6.1","fixReleasedAt":"2021-11-01T20:42:57.767Z","daysToFix":-5,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:12.186Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.5.2","matchedVersion":"2.5.2","fixReleasedAt":"2021-11-01T20:22:54.060Z","daysToFix":-5,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:50:12.186Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.5.2","matchedVersion":"2.5.2","fixReleasedAt":"2021-11-01T20:50:23.491Z","daysToFix":-5,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:12.186Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.4.4","matchedVersion":"2.4.4","fixReleasedAt":"2021-11-01T20:36:44.298Z","daysToFix":-5,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:12.186Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.4.4","matchedVersion":"2.4.4","fixReleasedAt":"2021-11-01T20:00:24.697Z","daysToFix":-5,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:50:12.186Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.4.4","matchedVersion":"2.4.4","fixReleasedAt":"2021-11-01T20:46:50.113Z","daysToFix":-5,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:12.186Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.6.1","matchedVersion":"2.6.1","fixReleasedAt":"2021-11-01T20:55:41.969Z","daysToFix":-5,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:12.186Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.6.1","matchedVersion":"2.6.1","fixReleasedAt":"2021-11-01T20:30:07.568Z","daysToFix":-5,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:50:12.186Z"}]}}