{"data":{"id":"a38edcbe-472c-45f5-a0a7-9430de8ac069","title":"CVE-2021-41221: TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for the…","summary":"CVE-2021-41221 affects the shape inference code for the `Cudnn*` operations in TensorFlow, in affected versions. The ranks of the `input`, `input_h` and `input_c` parameters are not validated, though the code assumes fixed values, so an attacker can trick it into accessing invalid memory through a heap buffer overflow.","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-41221","publishedAt":"2021-11-06T03:15:08.413Z","cveId":"CVE-2021-41221","cweIds":["CWE-120","CWE-787"],"cvssScore":"7.8","cvssSeverity":"high","severity":"high","attackType":["other"],"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 heap buffer overflow in Cudnn shape inference","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00221,"epssCheckedAt":"2026-11-04T12:08:34.749Z","kevDateAdded":null,"advisoryAliases":["GHSA-cqv6-3phm-hcwx"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:59:00.246Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2021-11-01T20:00:24.697Z","daysToFix":-5,"fixCheckedAt":"2026-10-29T21:49:49.452Z","capecIds":["CAPEC-100"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"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:49.297Z"},{"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:49.297Z"},{"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:49.297Z"},{"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:49.297Z"},{"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:49.297Z"},{"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:49.297Z"},{"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:49.297Z"},{"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:49.297Z"},{"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:49.297Z"}]}}