🔍 CVE-2021-37673

5.5
CVSS Score
MEDIUM
2021-08-12
2026-06-17 04:00
✅ 완료

🇰🇷 한글 설명

TensorFlow의 `tf.raw_ops.MapStage` 연산에서 `key` 입력값이 유효한 비어 있지 않은 텐서인지 확인하지 않는 결함이 발견되었습니다. 공격자가 조작된 입력을 제공할 경우 `CHECK`-fail을 유발하여 서비스 거부(DoS) 상태를 일으킬 수 있습니다.

💡 쉬운 설명

머신러닝 도구인 TensorFlow에서 잘못된 데이터를 입력받으면 프로그램이 갑자기 멈춰버리는 문제가 있습니다. 공격자가 이 점을 악용해 시스템을 마비시킬 수 있습니다.

🇺🇸 원문 (English)

TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can trigger a denial of service via a `CHECK`-fail in `tf.raw_ops.MapStage`. The [implementation](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/core/kernels/map_stage_op.cc#L513) does not check that the `key` input is a valid non-empty tensor. We have patched the issue in GitHub commit d7de67733925de196ec8863a33445b73f9562d1d. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.

📍 영향받는 시스템

TensorFlow 2.6.0 미만 버전 (2.5.1, 2.4.3, 2.3.4 포함)

⚔️ 공격 벡터

조작된 비어 있는 텐서(key)를 `tf.raw_ops.MapStage` 연산에 입력하여 프로그램 강제 종료 유도

🛡️ 대응 방법

TensorFlow를 2.6.0 이상 버전으로 업데이트하거나, 해당 패치가 적용된 2.5.1, 2.4.3, 2.3.4 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 2.6.0 미만인 경우 해당 취약점에 노출되어 있을 가능성이 높습니다.

Shell / Script
python3 -c 'import tensorflow as tf; print(tf.__version__)'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Azure Machine Learning