SecurityContext

CVE-2022-23560: TensorFlow - Out-of-Bounds Read/Write

  • Cve: CVE-2022-23560
  • Name: TensorFlow - Out-of-Bounds Read/Write
  • Description: Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would allow limited reads and writes outside of arrays in TFLite. This exploits missing validation in the conversion from sparse tensors to dense tensors. The fix is 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. Users are advised to upgrade as soon as possible.
  • Impact: Attackers can perform limited out-of-bounds reads and writes, potentially leading to information disclosure or data tampering.
  • Remediation: Upgrade to TensorFlow 2.8.0 or apply the cherrypick fix to versions 2.7.1, 2.6.3, and 2.5.3.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00844
  • Epss percentile: 0.58896
  • Assignee: [email protected]
  • Published at: 2022-02-04T23:15:13Z
  • Age in days: 1754
  • Modified at: 2026-06-17T04:30:21Z
  • 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-23560
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

Public exploits

UrlSourceAdded date
https://github.com/tensorflow/tensorflow/blob/ca6f96b62ad84207fbec580404eaa7dd7403a550/tensorflow/lite/kernels/internal/utils/sparsity_format_converter.cc#L252-L293nvd2022-02-04

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/tensorflow/tensorflow/commit/6364463d6f5b6254cac3d6aedf999b6a96225038Patch, Third Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-4hvf-hxvg-f67vPatch, Third Party Advisory
https://github.com/tensorflow/tensorflow/blob/ca6f96b62ad84207fbec580404eaa7dd7403a550/tensorflow/lite/kernels/internal/utils/sparsity_format_converter.cc#L252-L293Exploit, 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