CVE-2022-29198
Assigner: GitHub_M
Published: 2022-05-20T21:50:12
State: PUBLISHED
affected: product: tensorflow
vendor: tensorflow
versions: status: affected
version: < 2.6.4
status: affected
version: >= 2.7.0rc0, < 2.7.2
status: affected
version: >= 2.8.0rc0, < 2.8.1
status: affected
version: >= 2.9.0rc0, < 2.9.0
descriptions: value: TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.SparseTensorToCSRSparseMatrix` does not fully validate the input arguments. This results in a `CHECK`-failure which can be used to trigger a denial of service attack. The code assumes `dense_shape` is a vector and `indices` is a matrix (as part of requirements for sparse tensors) but there is no validation for this. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
metrics: cvssV3_1: attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: HIGH
baseScore: 5.5
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
version: 3.1
problemTypes: descriptions: cweId: CWE-20
description: CWE-20: Improper Input Validation
type: CWE
source: advisory: GHSA-mg66-qvc5-rm93
discovery: UNKNOWN
title: Missing validation causes denial of service in TensorFlow via `SparseTensorToCSRSparseMatrix`