CVE-2021-29548

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

TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a runtime division by zero error and denial of service in tf.raw_ops.QuantizedBatchNormWithGlobalNormalization. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/55a97caa9e99c7f37a0bbbeb414dc55553d3ae7f/tensorflow/core/kernels/quantizedbatchnormop.cc) does not validate all constraints specified in the op's contract(https://www.tensorflow.org/apidocs/python/tf/raw_ops/QuantizedBatchNormWithGlobalNormalization). 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-29548.json"
vanir_signatures
[
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "176618047136456417880005532924269322386",
                "297047972375586089626536842260205915101",
                "86200857832530856272713735861939086941",
                "128459269962812644813524439573502370374",
                "234004257098849043291372428099319489604",
                "241579587392670441474268375065918101774",
                "161063756124405785828275356797381227591",
                "37244088738306890189939361308459926176",
                "316467082556001404614516698981229802163",
                "135937994080295905309159847098386748770",
                "167120151489323212762499174682729280990",
                "219490438250623205816948631995075558366",
                "242888050880428708846886754973363308772",
                "72111755195317785167421845503711011011",
                "131068498761825027470444422476444652228",
                "185457261491039634984875476907287325232",
                "238957868349673335557020188134440930668",
                "227576154549641252975969184476197098428",
                "181823546976821326746531119399087937682",
                "77817855725171497703242639549410228571",
                "121111861639199729372945519955015565610"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "id": "CVE-2021-29548-9d06ae6e",
        "source": "https://github.com/tensorflow/tensorflow/commit/d6ed5bcfe1dcab9e85a4d39931bd18d99018e75b",
        "target": {
            "file": "tensorflow/core/kernels/quantized_batch_norm_op.cc"
        }
    }
]