CVE-2021-29525

Source
https://cve.org/CVERecord?id=CVE-2021-29525
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-29525.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-29525
Aliases
Related
Published
2021-05-14T20:15:11.760Z
Modified
2026-02-21T07:45:31.983124Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a division by 0 in tf.raw_ops.Conv2DBackpropInput. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/b40060c9f697b044e3107917c797ba052f4506ab/tensorflow/core/kernels/convgradinput_ops.h#L625-L655) does a division by a quantity that is controlled by the caller. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

References

Affected packages

Git / github.com/tensorflow/tensorflow

Affected ranges

Type
GIT
Repo
https://github.com/tensorflow/tensorflow
Events

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-29525.json"
vanir_signatures
[
    {
        "target": {
            "file": "tensorflow/core/kernels/conv_grad_input_ops.h"
        },
        "digest": {
            "line_hashes": [
                "175880963090517230015056536230471208209",
                "187960194007795287875864030972389978407",
                "117946576624719889739402325915395416367"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "id": "CVE-2021-29525-f6b0c2d3",
        "source": "https://github.com/tensorflow/tensorflow/commit/2be2cdf3a123e231b16f766aa0e27d56b4606535",
        "deprecated": false,
        "signature_version": "v1"
    }
]