Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2022-29206

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-20 May, 2022 | 22:15
Updated At-22 Apr, 2025 | 17:58
Rejected At-
Credits

Missing validation results in undefined behavior in `SparseTensorDenseAdd` in TensorFlow

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.SparseTensorDenseAdd` does not fully validate the input arguments. In this case, a reference gets bound to a `nullptr` during kernel execution. This is undefined behavior. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:20 May, 2022 | 22:15
Updated At:22 Apr, 2025 | 17:58
Rejected At:
▼CVE Numbering Authority (CNA)
Missing validation results in undefined behavior in `SparseTensorDenseAdd` in TensorFlow

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.SparseTensorDenseAdd` does not fully validate the input arguments. In this case, a reference gets bound to a `nullptr` during kernel execution. This is undefined behavior. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

Affected Products
Vendor
TensorFlowtensorflow
Product
tensorflow
Versions
Affected
  • < 2.6.4
  • >= 2.7.0rc0, < 2.7.2
  • >= 2.8.0rc0, < 2.8.1
  • >= 2.9.0rc0, < 2.9.0
Problem Types
TypeCWE IDDescription
CWECWE-20CWE-20: Improper Input Validation
CWECWE-476CWE-476: NULL Pointer Dereference
Type: CWE
CWE ID: CWE-20
Description: CWE-20: Improper Input Validation
Type: CWE
CWE ID: CWE-476
Description: CWE-476: NULL Pointer Dereference
Metrics
VersionBase scoreBase severityVector
3.15.5MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4
x_refsource_MISC
https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2
x_refsource_MISC
https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1
x_refsource_MISC
https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0
x_refsource_MISC
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rc9w-5c64-9vqq
x_refsource_CONFIRM
https://github.com/tensorflow/tensorflow/commit/11ced8467eccad9c7cb94867708be8fa5c66c730
x_refsource_MISC
https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/sparse_tensor_dense_add_op.cc
x_refsource_MISC
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4
Resource:
x_refsource_MISC
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2
Resource:
x_refsource_MISC
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1
Resource:
x_refsource_MISC
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0
Resource:
x_refsource_MISC
Hyperlink: https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rc9w-5c64-9vqq
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/tensorflow/tensorflow/commit/11ced8467eccad9c7cb94867708be8fa5c66c730
Resource:
x_refsource_MISC
Hyperlink: https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/sparse_tensor_dense_add_op.cc
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4
x_refsource_MISC
x_transferred
https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2
x_refsource_MISC
x_transferred
https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1
x_refsource_MISC
x_transferred
https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0
x_refsource_MISC
x_transferred
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rc9w-5c64-9vqq
x_refsource_CONFIRM
x_transferred
https://github.com/tensorflow/tensorflow/commit/11ced8467eccad9c7cb94867708be8fa5c66c730
x_refsource_MISC
x_transferred
https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/sparse_tensor_dense_add_op.cc
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rc9w-5c64-9vqq
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/tensorflow/tensorflow/commit/11ced8467eccad9c7cb94867708be8fa5c66c730
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/sparse_tensor_dense_add_op.cc
Resource:
x_refsource_MISC
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:20 May, 2022 | 23:15
Updated At:02 Jun, 2022 | 19:37

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.SparseTensorDenseAdd` does not fully validate the input arguments. In this case, a reference gets bound to a `nullptr` during kernel execution. This is undefined behavior. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.15.5MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Secondary3.15.5MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary2.02.1LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P
Type: Primary
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Type: Secondary
Version: 3.1
Base score: 5.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Type: Primary
Version: 2.0
Base score: 2.1
Base severity: LOW
Vector:
AV:L/AC:L/Au:N/C:N/I:N/A:P
CPE Matches

Google LLC
google
>>tensorflow>>Versions before 2.6.4(exclusive)
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
Google LLC
google
>>tensorflow>>Versions from 2.7.0(inclusive) to 2.7.2(exclusive)
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
Google LLC
google
>>tensorflow>>2.7.0
cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*
Google LLC
google
>>tensorflow>>2.7.0
cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*
Google LLC
google
>>tensorflow>>2.8.0
cpe:2.3:a:google:tensorflow:2.8.0:-:*:*:*:*:*:*
Google LLC
google
>>tensorflow>>2.8.0
cpe:2.3:a:google:tensorflow:2.8.0:rc0:*:*:*:*:*:*
Google LLC
google
>>tensorflow>>2.8.0
cpe:2.3:a:google:tensorflow:2.8.0:rc1:*:*:*:*:*:*
Google LLC
google
>>tensorflow>>2.9.0
cpe:2.3:a:google:tensorflow:2.9.0:rc0:*:*:*:*:*:*
Google LLC
google
>>tensorflow>>2.9.0
cpe:2.3:a:google:tensorflow:2.9.0:rc1:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-20Primarysecurity-advisories@github.com
CWE-476Primarysecurity-advisories@github.com
CWE ID: CWE-20
Type: Primary
Source: security-advisories@github.com
CWE ID: CWE-476
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/sparse_tensor_dense_add_op.ccsecurity-advisories@github.com
Third Party Advisory
https://github.com/tensorflow/tensorflow/commit/11ced8467eccad9c7cb94867708be8fa5c66c730security-advisories@github.com
Patch
Third Party Advisory
https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4security-advisories@github.com
Release Notes
Third Party Advisory
https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2security-advisories@github.com
Release Notes
Third Party Advisory
https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1security-advisories@github.com
Release Notes
Third Party Advisory
https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0security-advisories@github.com
Release Notes
Third Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rc9w-5c64-9vqqsecurity-advisories@github.com
Exploit
Patch
Third Party Advisory
Hyperlink: https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/sparse_tensor_dense_add_op.cc
Source: security-advisories@github.com
Resource:
Third Party Advisory
Hyperlink: https://github.com/tensorflow/tensorflow/commit/11ced8467eccad9c7cb94867708be8fa5c66c730
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4
Source: security-advisories@github.com
Resource:
Release Notes
Third Party Advisory
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2
Source: security-advisories@github.com
Resource:
Release Notes
Third Party Advisory
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1
Source: security-advisories@github.com
Resource:
Release Notes
Third Party Advisory
Hyperlink: https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0
Source: security-advisories@github.com
Resource:
Release Notes
Third Party Advisory
Hyperlink: https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rc9w-5c64-9vqq
Source: security-advisories@github.com
Resource:
Exploit
Patch
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found