{"data":{"id":"3cbab99f-b2de-4ed3-a7b8-868006ea8cc7","title":"CVE-2021-29605: TensorFlow is an end-to-end open source platform for machine learning. The TFLite code for allocating `TFLiteIntArray`s…","summary":"TensorFlow's TFLite code that allocates `TFLiteIntArray`s has an integer overflow. An attacker can craft a model with a `size` multiplier so large that the result overflows `int` and becomes negative, passing an invalid value to `malloc` and causing `ret->size` to dereference an invalid pointer.","solution":"The fix will be included in TensorFlow 2.5.0. The commit will also be cherrypicked to TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-29605","publishedAt":"2021-05-15T00:15:15.670Z","cveId":"CVE-2021-29605","cweIds":["CWE-190"],"cvssScore":"7.1","cvssSeverity":"high","severity":"high","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["tensorflow@< 2.1.4 (fixed: 2.1.4)","tensorflow@>= 2.2.0, < 2.2.3 (fixed: 2.2.3)","tensorflow@>= 2.3.0, < 2.3.3 (fixed: 2.3.3)","tensorflow@>= 2.4.0, < 2.4.2 (fixed: 2.4.2)","tensorflow-cpu@< 2.1.4 (fixed: 2.1.4)","tensorflow-cpu@>= 2.2.0, < 2.2.3 (fixed: 2.2.3)","tensorflow-cpu@>= 2.3.0, < 2.3.3 (fixed: 2.3.3)","tensorflow-cpu@>= 2.4.0, < 2.4.2 (fixed: 2.4.2)","tensorflow-gpu@< 2.1.4 (fixed: 2.1.4)","tensorflow-gpu@>= 2.2.0, < 2.2.3 (fixed: 2.2.3)","tensorflow-gpu@>= 2.3.0, < 2.3.3 (fixed: 2.3.3)","tensorflow-gpu@>= 2.4.0, < 2.4.2 (fixed: 2.4.2)"],"affectedPackageNames":["tensorflow","tensorflow-cpu","tensorflow-gpu"],"affectedPackageRefs":["pypi:tensorflow","pypi:tensorflow-cpu","pypi:tensorflow-gpu"],"affectedVendors":["Google"],"affectedVendorsRaw":["TensorFlow","TFLite"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"TensorFlow Lite integer overflow in TFLiteIntArray allocation via crafted model","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.0022,"epssCheckedAt":"2026-11-04T06:10:14.105Z","kevDateAdded":null,"advisoryAliases":["GHSA-jf7h-7m85-w2v2"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:59:57.200Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2021-06-15T21:01:30.053Z","daysToFix":31,"fixCheckedAt":"2026-10-29T21:51:12.144Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.3.3","matchedVersion":"2.3.3","fixReleasedAt":"2021-06-15T21:08:37.651Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.3.3","matchedVersion":"2.3.3","fixReleasedAt":"2021-06-15T21:04:54.421Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.4.2","matchedVersion":"2.4.2","fixReleasedAt":"2021-06-15T21:05:30.770Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.2.3","matchedVersion":"2.2.3","fixReleasedAt":"2021-06-15T21:11:39.648Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.1.4","matchedVersion":"2.1.4","fixReleasedAt":"2021-06-15T21:03:57.218Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.4.2","matchedVersion":"2.4.2","fixReleasedAt":"2021-06-15T21:03:59.541Z","daysToFix":31,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.2.3","matchedVersion":"2.2.3","fixReleasedAt":"2021-06-15T21:05:45.961Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.1.4","matchedVersion":"2.1.4","fixReleasedAt":"2021-06-15T21:01:55.318Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.4.2","matchedVersion":"2.4.2","fixReleasedAt":"2021-06-15T21:09:49.706Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.3.3","matchedVersion":"2.3.3","fixReleasedAt":"2021-06-15T21:03:30.442Z","daysToFix":31,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.1.4","matchedVersion":"2.1.4","fixReleasedAt":"2021-06-15T21:01:30.053Z","daysToFix":31,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.2.3","matchedVersion":"2.2.3","fixReleasedAt":"2021-06-15T21:03:54.731Z","daysToFix":31,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:51:11.990Z"}]}}