CVE-2021-29572

Source
https://cve.org/CVERecord?id=CVE-2021-29572
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29572.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-29572
Aliases
Related
Published
2021-05-14T20:15:13.927Z
Modified
2026-02-28T04:38:38.113738Z
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. The implementation of tf.raw_ops.SdcaOptimizer triggers undefined behavior due to dereferencing a null pointer. The implementation(https://github.com/tensorflow/tensorflow/blob/60a45c8b6192a4699f2e2709a2645a751d435cc3/tensorflow/core/kernels/sdcainternal.cc) does not validate that the user supplied arguments satisfy all constraints expected by the op(https://www.tensorflow.org/apidocs/python/tf/raw_ops/SdcaOptimizer). 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

vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "155574581372941160870565273953201785971",
                "255173495720506839222064058411702436280",
                "172838500643053924923895592029273860158",
                "17402336618818337339567621928639706554",
                "114372793750359455060305493892855536273",
                "74810858181488689393684916146068904521",
                "20022233786850908998631114137540878190",
                "299789574151120349670229151818029145234",
                "226836716700235207340692088318828603995",
                "79285550125257590422331895945290505858",
                "125400721681910813396742745562670200898",
                "187014542678624315034322042408201131006",
                "185943696843566542562447634286036005422",
                "277692667548063291066065428623910103029",
                "215908051324476238959927782301764756129",
                "312524572835080705790328797709480058845",
                "131063027831700760180547872807336332226",
                "49601653928833487143571671868479094075",
                "330253729419401523976811592575743725053",
                "217596670662200449262982468161813858299",
                "319337657505743414655605371829243448321",
                "36821067584580712138028378296068541549",
                "178287360882685568023157265714798963352",
                "328427505999410716460359205202664102296",
                "121183472351075847581964866767681636462",
                "193440639689371898238863084968470661745"
            ]
        },
        "source": "https://github.com/tensorflow/tensorflow/commit/f7cc8755ac6683131fdfa7a8a121f9d7a9dec6fb",
        "deprecated": false,
        "id": "CVE-2021-29572-b85724e3",
        "signature_type": "Line",
        "target": {
            "file": "tensorflow/core/kernels/sdca_internal.cc"
        },
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29572.json"