MEDIUM
Missing validation in `QuantizedConv2D` results in undefined behavior in TensorFlow
Published May 20, 2022
5.5
MEDIUMCVSS 3.1
EPSS 0.34%
Description
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.QuantizedConv2D` does not fully validate the input arguments. In this case, references get bound to `nullptr` for each argument that is empty. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Affected products
-
- Version < 2.6.4StatusaffectedConstraints-
- Version >= 2.7.0rc0, < 2.7.2StatusaffectedConstraints-
- Version >= 2.8.0rc0, < 2.8.1StatusaffectedConstraints-
- Version >= 2.9.0rc0, < 2.9.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TensorFlow | TensorFlow | n/a |
|
OR
- < 2.6.4
- ≥ 2.7.0 · < 2.7.2
- 2.7.0
- 2.7.0
- 2.8.0
- 2.8.0
- 2.8.0
- 2.9.0
- 2.9.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://github.com/advisories/GHSA-pqhm-4wvf-2jg8 Advisory
- https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/quantized_conv_ops.cc x_refsource_MISCThird Party Advisory
- https://github.com/tensorflow/tensorflow/commit/0f0b080ecde4d3dfec158d6f60da34d5e31693c4 x_refsource_MISCPatchThird Party Advisory
- https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4 x_refsource_MISCRelease NotesThird Party Advisory
- https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2 x_refsource_MISCRelease NotesThird Party Advisory
- https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1 x_refsource_MISCRelease NotesThird Party Advisory
- https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0 x_refsource_MISCRelease NotesThird Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-pqhm-4wvf-2jg8 x_refsource_CONFIRMExploitPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-29201
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-pqhm-4wvf-2jg8 | Advisory | |
| https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/quantized_conv_ops.cc | x_refsource_MISCThird Party Advisory | |
| https://github.com/tensorflow/tensorflow/commit/0f0b080ecde4d3dfec158d6f60da34d5e31693c4 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4 | x_refsource_MISCRelease NotesThird Party Advisory | |
| https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2 | x_refsource_MISCRelease NotesThird Party Advisory | |
| https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1 | x_refsource_MISCRelease NotesThird Party Advisory | |
| https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0 | x_refsource_MISCRelease NotesThird Party Advisory | |
| https://github.com/tensorflow/tensorflow/security/advisories/GHSA-pqhm-4wvf-2jg8 | x_refsource_CONFIRMExploitPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-29201 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published May 20, 2022
Updated Apr 22, 2025
Reserved Apr 13, 2022
Link CVE-2022-29201
CISA Vulnrichment
GHSA-PQHM-4WVF-2JG8 Updated Apr 22, 2025