{"data":{"id":"a9ac0b46-deb9-4191-b311-9146f4d9c75e","title":"CVE-2020-15212: In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger writes outside of bounds of…","summary":"In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can write outside the bounds of heap-allocated buffers when the segment ids tensor contains negative elements. Users with access to `segment_ids_data` can alter `output_index` and write beyond the `output_data` buffer, which may cause a segmentation fault or further memory corruption that can be chained with other vulnerabilities.","solution":"Fixed in TensorFlow versions 2.2.1 and 2.3.1 (patch commit 204945b19e44b57906c9344c0d00120eeeae178a). Workaround for segment ids stored statically in the model: add a custom `Verifier` to the model loading code to ensure all segment ids are positive. A similar validation can be applied if segment ids are generated at runtime between inference steps. If segment ids are generated as outputs of a tensor during inference, no workaround is possible and users should upgrade to the patched code.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-15212","publishedAt":"2020-09-25T23:15:16.510Z","cveId":"CVE-2020-15212","cweIds":["CWE-787","CWE-787"],"cvssScore":"8.1","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["tensorflow@= 2.2.0 (fixed: 2.2.1)","tensorflow@= 2.3.0 (fixed: 2.3.1)","tensorflow-cpu@= 2.2.0 (fixed: 2.2.1)","tensorflow-cpu@= 2.3.0 (fixed: 2.3.1)","tensorflow-gpu@= 2.2.0 (fixed: 2.2.1)","tensorflow-gpu@= 2.3.0 (fixed: 2.3.1)"],"affectedPackageNames":["tensorflow","tensorflow-cpu","tensorflow-gpu"],"affectedPackageRefs":["pypi:tensorflow","pypi:tensorflow-cpu","pypi:tensorflow-gpu"],"affectedVendors":["Google"],"affectedVendorsRaw":["TensorFlow Lite"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"TensorFlow Lite out-of-bounds write in segment sum via negative segment ids","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00737,"epssCheckedAt":"2026-11-04T12:08:35.127Z","kevDateAdded":null,"advisoryAliases":["GHSA-hx2x-85gr-wrpq"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T04:00:54.773Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2020-09-24T19:03:23.545Z","daysToFix":-1,"fixCheckedAt":"2026-10-29T21:52:35.385Z","capecIds":["CAPEC-100"],"crossRefCount":0,"attackSophistication":"advanced","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.2.1","matchedVersion":"2.2.1","fixReleasedAt":"2020-09-24T19:16:14.398Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:35.233Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.3.1","matchedVersion":"2.3.1","fixReleasedAt":"2020-09-24T19:23:11.978Z","daysToFix":-1,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:52:35.233Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.2.1","matchedVersion":"2.2.1","fixReleasedAt":"2020-09-24T19:03:23.545Z","daysToFix":-1,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:52:35.233Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.2.1","matchedVersion":"2.2.1","fixReleasedAt":"2020-09-24T19:11:29.089Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:35.233Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.3.1","matchedVersion":"2.3.1","fixReleasedAt":"2020-09-24T19:29:12.073Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:35.233Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.3.1","matchedVersion":"2.3.1","fixReleasedAt":"2020-09-24T19:32:56.435Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:35.233Z"}]}}