🔍 CVE-2021-29594

2.5
CVSS Score
LOW
2021-05-14
2026-06-17 03:47
✅ 완료

🇰🇷 한글 설명

TensorFlow Lite의 컨볼루션 코드에서 사용자가 제어하는 나누기 연산 시 나누는 수가 0인지 확인하지 않는 결함이 발견되었습니다. 이로 인해 0으로 나누기 오류가 발생할 수 있으며, TensorFlow 2.5.0 및 주요 이전 버전들에 대한 패치가 제공됩니다.

💡 쉬운 설명

프로그램이 계산을 할 때 0으로 나누는 실수를 할 수 있는 허점이 발견되었습니다. 이로 인해 프로그램이 갑자기 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

TensorFlow is an end-to-end open source platform for machine learning. TFLite's convolution code(https://github.com/tensorflow/tensorflow/blob/09c73bca7d648e961dd05898292d91a8322a9d45/tensorflow/lite/kernels/conv.cc) has multiple division where the divisor is controlled by the user and not checked to be non-zero. 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.

📍 영향받는 시스템

TensorFlow 2.5.0 미만 버전 (2.4.2, 2.3.3, 2.2.3, 2.1.4 포함)

⚔️ 공격 벡터

사용자가 조작된 입력값을 통해 컨볼루션 연산 시 나누는 값을 0으로 설정하여 전달

🛡️ 대응 방법

TensorFlow를 2.5.0 이상의 최신 버전으로 업데이트

🔧 검증 코드

출력된 버전이 2.5.0보다 낮으면 취약한 상태입니다.

Shell / Script
pip show tensorflow | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Azure Machine Learning