{"data":{"id":"70f9b758-cec4-420e-bd02-d6e2b0e5b746","title":"CVE-2021-41202: TensorFlow is an open source platform for machine learning. In affected versions while calculating the size of the…","summary":"TensorFlow's `tf.range` kernel computes the output size with a conditional of type `int64 = condition ? int64 : double`. C++ implicit conversion casts both branches to `double` and truncates the result before assignment, causing overflows in affected versions.","solution":"The fix will be included in TensorFlow 2.7.0. The commit will also be cherry-picked to TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-41202","publishedAt":"2021-11-06T02:15:08.323Z","cveId":"CVE-2021-41202","cweIds":["CWE-681"],"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 integer overflow in tf.range kernel output size calculation","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00209,"epssCheckedAt":"2026-11-04T06:10:15.975Z","kevDateAdded":null,"advisoryAliases":["GHSA-xrqm-fpgr-6hhx"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:59:05.022Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2021-11-01T20:00:24.697Z","daysToFix":-5,"fixCheckedAt":"2026-10-29T21:49:56.375Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"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:49:56.223Z"},{"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:49:56.223Z"},{"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:49:56.223Z"},{"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:49:56.223Z"},{"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:49:56.223Z"},{"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:49:56.223Z"},{"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:49:56.223Z"},{"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:49:56.223Z"},{"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:49:56.223Z"}]}}