CVE-2021-29578

Source
https://cve.org/CVERecord?id=CVE-2021-29578
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29578.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-29578
Aliases
Related
Published
2021-05-14T20:15:14.200Z
Modified
2026-02-16T07:50:43.657739Z
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. The implementation of tf.raw_ops.FractionalAvgPoolGrad is vulnerable to a heap buffer overflow. The implementation(https://github.com/tensorflow/tensorflow/blob/dcba796a28364d6d7f003f6fe733d82726dda713/tensorflow/core/kernels/fractionalavgpool_op.cc#L216) fails to validate that the pooling sequence arguments have enough elements as required by the out_backprop tensor shape. 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/cve-osv-conversion/osv-output/CVE-2021-29578.json"
vanir_signatures
[
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/tensorflow/tensorflow/commit/12c727cee857fa19be717f336943d95fca4ffe4f",
        "digest": {
            "line_hashes": [
                "77954803164882938042465228043842059457",
                "59624622828181665565963610112404540578",
                "245849062749626158890594502587548770546"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2021-29578-69728dbd",
        "deprecated": false,
        "target": {
            "file": "tensorflow/core/kernels/fractional_avg_pool_op.cc"
        }
    }
]