🔍 CVE-2021-37680

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

🇰🇷 한글 설명

TensorFlow의 TFLite 구현 중 완전 연결 계층(fully connected layers)에서 0으로 나누기 오류가 발생할 수 있는 취약점이 발견되었습니다. 이로 인해 프로그램이 예기치 않게 종료될 수 있습니다. 해당 문제는 TensorFlow 2.6.0 및 특정 이전 버전들에 패치가 적용되었습니다.

💡 쉬운 설명

머신러닝 도구인 TensorFlow를 사용할 때 수학적으로 불가능한 '0으로 나누기' 계산이 발생하여 프로그램이 멈출 수 있는 문제입니다. 악의적인 데이터 모델을 통해 시스템을 강제로 종료시킬 수 있습니다.

🇺🇸 원문 (English)

TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation of fully connected layers in TFLite is [vulnerable to a division by zero error](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/lite/kernels/fully_connected.cc#L226). We have patched the issue in GitHub commit 718721986aa137691ee23f03638867151f74935f. 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 포함)

⚔️ 공격 벡터

조작된 TFLite 모델 파일을 로드하여 계산 과정에서 0으로 나누기 오류를 유발함

🛡️ 대응 방법

TensorFlow를 2.6.0 이상 버전으로 업데이트하거나 패치가 적용된 최신 마이너 버전으로 업데이트하십시오.

🔧 검증 코드

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