SecurityContext

CVE-2022-23593: TensorFlow - Null Pointer Dereference

  • Cve: CVE-2022-23593
  • Name: TensorFlow - Null Pointer Dereference
  • Description: Tensorflow is an Open Source Machine Learning Framework. The `simplifyBroadcast` function in the MLIR-TFRT infrastructure in TensorFlow is vulnerable to a segfault (hence, denial of service), if called with scalar shapes. If all shapes are scalar, then `maxRank` is 0, so we build an empty `SmallVector`. The fix will be included in TensorFlow 2.8.0. This is the only affected version.
  • Impact: Attackers can cause a segmentation fault, leading to denial of service of the TensorFlow service.
  • Remediation: Update to TensorFlow 2.8.0 or later.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.0087
  • Epss percentile: 0.59737
  • Assignee: [email protected]
  • Published at: 2022-02-04T23:15:15Z
  • Age in days: 1754
  • Modified at: 2026-06-17T04:30:26Z
  • 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-23593
  • 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-754Improper Check for Unusual or Exceptional Conditions

Public exploits

UrlSourceAdded date
https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/compiler/mlir/tfrt/jit/transforms/tf_cpurt_symbolic_shape_optimization.cc#L149-L205nvd2022-02-04

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/tensorflow/tensorflow/commit/35f0fabb4c178253a964d7aabdbb15c6a398b69aPatch, Third Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gwcx-jrx4-92w2Patch, Third Party Advisory
https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/compiler/mlir/tfrt/jit/transforms/tf_cpurt_symbolic_shape_optimization.cc#L149-L205Exploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
google:tensorflow>= 2.7.0, < 2.8.0nonvd/v1/products/google/tensorflow

Projects

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

Index

  • Repositories: 137
  • Repositories high signal: 55
  • Packages: 1

Exploitation

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