🔍 CVE-2021-41199

5.5
CVSS Score
MEDIUM
2021-11-05
2026-06-17 04:08
✅ 완료

🇰🇷 한글 설명

TensorFlow의 `tf.image.resize` 함수 호출 시 매우 큰 입력 인자가 전달되면 정수 오버플로로 인해 프로세스가 충돌합니다. 출력 텐서의 요소 수가 `int64_t` 데이터 타입을 초과하여 `CHECK` 실패가 발생하며 프로세스가 중단됩니다.

💡 쉬운 설명

머신러닝 도구인 TensorFlow에서 이미지 크기를 조절할 때 너무 큰 값을 입력하면 프로그램이 갑자기 꺼지는 문제입니다. 이는 숫자를 저장하는 공간이 넘쳐서 발생하는 오류입니다.

🇺🇸 원문 (English)

TensorFlow is an open source platform for machine learning. In affected versions if `tf.image.resize` is called with a large input argument then the TensorFlow process will crash due to a `CHECK`-failure caused by an overflow. The number of elements in the output tensor is too much for the `int64_t` type and the overflow is detected via a `CHECK` statement. This aborts the process. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

📍 영향받는 시스템

TensorFlow 2.7.0 미만 버전 (2.6.1, 2.5.2, 2.4.4 포함)

⚔️ 공격 벡터

조작된 대형 입력 인자를 `tf.image.resize` 함수에 전달하여 서비스 거부(DoS) 유발

🛡️ 대응 방법

TensorFlow를 2.7.0 이상 버전으로 업데이트하거나, 지원되는 버전(2.6.1, 2.5.2, 2.4.4)의 보안 패치를 적용하십시오.

🔧 검증 코드

출력된 버전 번호가 2.7.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