Home » Database

AVID-2026-R0806

Description

Stack overflow in ParseAttrValue with nested tensors (CVE-2021-29615)

Details

TensorFlow is an end-to-end open source platform for machine learning. The implementation of ParseAttrValue(https://github.com/tensorflow/tensorflow/blob/c22d88d6ff33031aa113e48aa3fc9aa74ed79595/tensorflow/core/framework/attr_value_util.cc#L397-L453) can be tricked into stack overflow due to recursion by giving in a specially crafted input. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

Reason for inclusion in AVID: This CVE affects TensorFlow, a core AI framework used in building and running AI models and pipelines. It describes a vulnerability in a software component (ParseAttrValue) of the AI software stack that can be triggered by crafted input, leading to a stack overflow (uncontrolled recursion). The issue impacts multiple TensorFlow versions and has a documented fix in newer releases, indicating a genuine security vulnerability in a software supply chain component used for general-purpose AI systems (training, serving, tooling). The report provides enough signal: vulnerability type, affected versions, and remediation. Therefore, it should be kept for AVID curation as a vulnerability in the AI software supply chain.

References

Affected or Relevant Artifacts

  • Developer: tensorflow
  • Deployer: tensorflow
  • Artifact Details:
TypeName
Systemtensorflow

Impact

AVID Taxonomy Categorization

  • Risk domains: Security
  • SEP subcategories: S0100: Software Vulnerability
  • Lifecycle stages: L06: Deployment

CVSS

Version3.1
Vector StringCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Base Score2.5
Base Severity🟢 Low
Attack VectorLOCAL
Attack Complexity🔴 High
Privileges Required🟢 Low
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactNONE
Integrity ImpactNONE
Availability Impact🟢 Low

CWE

IDDescription
CWE-674CWE-674: Uncontrolled Recursion

Other information

  • Report Type: Advisory
  • Credits:
  • Date Reported: 2021-05-14
  • Version: 0.3.3
  • AVID Entry