{"data":{"id":"69ce4e2f-52e5-495f-a2f9-625db2104f4a","title":"CVE-2021-37639: TensorFlow is an end-to-end open source platform for machine learning. When restoring tensors via raw APIs, if the…","summary":"TensorFlow's raw tensor restore APIs fail to validate inputs when restoring tensors. If no tensor name is provided, or the list is empty, TensorFlow dereferences a null pointer. If some names are given but too few to satisfy the restoration index, which is controlled by the preferred_shard argument, it performs a heap out-of-bounds read.","solution":"We have patched the issue in GitHub commit 9e82dce6e6bd1f36a57e08fa85af213e2b2f2622. The fix will be included in TensorFlow 2.6.0. The commit will also be cherrypicked to TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-37639","publishedAt":"2021-08-12T23:15:08.707Z","cveId":"CVE-2021-37639","cweIds":["CWE-476","CWE-125","CWE-476"],"cvssScore":"8.4","cvssSeverity":"high","severity":"high","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["tensorflow@< 2.3.4 (fixed: 2.3.4)","tensorflow@>= 2.4.0, < 2.4.3 (fixed: 2.4.3)","tensorflow@= 2.5.0 (fixed: 2.5.1)","tensorflow-cpu@< 2.3.4 (fixed: 2.3.4)","tensorflow-cpu@>= 2.4.0, < 2.4.3 (fixed: 2.4.3)","tensorflow-cpu@= 2.5.0 (fixed: 2.5.1)","tensorflow-gpu@< 2.3.4 (fixed: 2.3.4)","tensorflow-gpu@>= 2.4.0, < 2.4.3 (fixed: 2.4.3)","tensorflow-gpu@= 2.5.0 (fixed: 2.5.1)"],"affectedPackageNames":["tensorflow","tensorflow-cpu","tensorflow-gpu"],"affectedPackageRefs":["pypi:tensorflow","pypi:tensorflow-cpu","pypi:tensorflow-gpu"],"affectedVendors":[],"affectedVendorsRaw":["TensorFlow"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"TensorFlow null pointer dereference and heap out-of-bounds read","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00173,"epssCheckedAt":"2026-11-04T06:10:15.713Z","kevDateAdded":null,"advisoryAliases":["GHSA-gh6x-4whr-2qv4"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:59:45.060Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2021-08-10T21:51:35.142Z","daysToFix":-2,"fixCheckedAt":"2026-10-29T21:50:54.517Z","capecIds":["CAPEC-540"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.4.3","matchedVersion":"2.4.3","fixReleasedAt":"2021-08-10T21:57:52.135Z","daysToFix":-2,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:54.359Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.4.3","matchedVersion":"2.4.3","fixReleasedAt":"2021-08-10T21:52:30.867Z","daysToFix":-2,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:50:54.359Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.4.3","matchedVersion":"2.4.3","fixReleasedAt":"2021-08-10T21:53:37.078Z","daysToFix":-2,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:54.359Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.5.1","matchedVersion":"2.5.1","fixReleasedAt":"2021-08-10T21:51:57.218Z","daysToFix":-2,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:50:54.359Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.3.4","matchedVersion":"2.3.4","fixReleasedAt":"2021-08-10T21:51:35.142Z","daysToFix":-2,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:50:54.359Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.3.4","matchedVersion":"2.3.4","fixReleasedAt":"2021-08-10T21:52:20.445Z","daysToFix":-2,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:54.359Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.5.1","matchedVersion":"2.5.1","fixReleasedAt":"2021-08-10T21:53:19.960Z","daysToFix":-2,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:54.359Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.3.4","matchedVersion":"2.3.4","fixReleasedAt":"2021-08-10T21:54:46.058Z","daysToFix":-2,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:54.359Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.5.1","matchedVersion":"2.5.1","fixReleasedAt":"2021-08-10T21:58:54.547Z","daysToFix":-2,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:54.359Z"}]}}