MEDIUM
Missing validation crashes `QuantizeAndDequantizeV4Grad` 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.QuantizeAndDequantizeV4Grad` does not fully validate the input arguments. This results in a `CHECK`-failure which can be used to trigger a denial of service attack. 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.8.0 · < 2.8.1
- 2.9.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.
Weaknesses (1)
References (9)
- https://github.com/advisories/GHSA-h2wq-prv9-2f56 Advisory
- https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/quantize_and_dequantize_op.cc#L148-L226 x_refsource_MISCExploitThird Party Advisory
- https://github.com/tensorflow/tensorflow/commit/098e7762d909bac47ce1dbabe6dfd06294cb9d58 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-h2wq-prv9-2f56 x_refsource_CONFIRMExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-29192
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-29192
CISA Vulnrichment
GHSA-H2WQ-PRV9-2F56 Updated Apr 22, 2025