{"data":{"id":"de4bca39-ccd0-4154-aa65-0f7a064742a6","title":"CVE-2021-37645: TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation of…","summary":"CVE-2021-37645 affects TensorFlow's `tf.raw_ops.QuantizeAndDequantizeV4Grad` in affected versions. A negative `axis` value is implicitly converted to an unsigned integer when passed as the size argument to the `absl::InlinedVector` constructor, causing an integer overflow and memory allocation based on the resulting large value.","solution":"Patched in GitHub commit 96f364a1ca3009f98980021c4b32be5fdcca33a1. The fix will be included in TensorFlow 2.6.0, and the commit will also be cherry-picked to TensorFlow 2.5.1 and TensorFlow 2.4.3.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-37645","publishedAt":"2021-08-13T01:15:07.887Z","cveId":"CVE-2021-37645","cweIds":["CWE-681"],"cvssScore":"5.5","cvssSeverity":"medium","severity":"medium","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["tensorflow@< 2.4.3 (fixed: 2.4.3)","tensorflow@= 2.5.0 (fixed: 2.5.1)","tensorflow-cpu@< 2.4.3 (fixed: 2.4.3)","tensorflow-cpu@= 2.5.0 (fixed: 2.5.1)","tensorflow-gpu@< 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":["Google"],"affectedVendorsRaw":["TensorFlow"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"TensorFlow integer overflow in tf.raw_ops.QuantizeAndDequantizeV4Grad","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00152,"epssCheckedAt":"2026-11-04T18:09:14.312Z","kevDateAdded":null,"advisoryAliases":["GHSA-9w2p-5mgw-p94c"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:59:41.307Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2021-08-10T21:51:57.218Z","daysToFix":-3,"fixCheckedAt":"2026-10-29T21:50:49.155Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["availability","integrity"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.5.1","matchedVersion":"2.5.1","fixReleasedAt":"2021-08-10T21:51:57.218Z","daysToFix":-3,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:50:49.004Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.4.3","matchedVersion":"2.4.3","fixReleasedAt":"2021-08-10T21:57:52.135Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:49.004Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.5.1","matchedVersion":"2.5.1","fixReleasedAt":"2021-08-10T21:58:54.547Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:49.004Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.4.3","matchedVersion":"2.4.3","fixReleasedAt":"2021-08-10T21:52:30.867Z","daysToFix":-3,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:50:49.004Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.4.3","matchedVersion":"2.4.3","fixReleasedAt":"2021-08-10T21:53:37.078Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:49.004Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.5.1","matchedVersion":"2.5.1","fixReleasedAt":"2021-08-10T21:53:19.960Z","daysToFix":-3,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:50:49.004Z"}]}}