SecurityContext

CVE-2022-23580: TensorFlow - Resource Exhaustion

  • Cve: CVE-2022-23580
  • Name: TensorFlow - Resource Exhaustion
  • Description: Tensorflow is an Open Source Machine Learning Framework. During shape inference, TensorFlow can allocate a large vector based on a value from a tensor controlled by the user. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.
  • Impact: Attackers can cause denial of service by exhausting system resources through large vector allocations.
  • Remediation: Update to TensorFlow 2.8.0 or cherry-pick the fix into versions 2.7.1, 2.6.3, and 2.5.3.
  • Vulnerability impact: denial_of_service
  • Requirement type: user_interaction
  • Requirements: Attacker needs to control tensor input during shape inference
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00828
  • Epss percentile: 0.58423
  • Assignee: [email protected]
  • Published at: 2022-02-04T23:15:14Z
  • Age in days: 1754
  • Modified at: 2026-06-17T04:30:24Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-23580
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption
CWE-1284Improper Validation of Specified Quantity in Input

Public exploits

UrlSourceAdded date
https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/framework/shape_inference.cc#L788-L790nvd2022-02-04

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/tensorflow/tensorflow/commit/1361fb7e29449629e1df94d44e0427ebec8c83c7Patch, Third Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-627q-g293-49q7Patch, Third Party Advisory
https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/framework/shape_inference.cc#L788-L790Exploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
google:tensorflow= 2.7.0; >= 2.6.0, <= 2.6.2; <= 2.5.2nonvd/v1/products/google/tensorflow

Projects

RepositoryLink kindsIndexedUrl
tensorflow/tensorflowcommit, fix, security_advisoryyes/v1/repositories/tensorflow/tensorflow

Index

  • Repositories: 352
  • Repositories high signal: 135
  • Packages: 3

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-02-04
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts