🇰🇷 한글 설명
TensorFlow의 `tf.raw_ops.Reverse` 연산에서 FPE(부동 소수점 예외) 런타임 오류가 발생하여 서비스 거부(DoS) 상태를 유발할 수 있는 취약점입니다. 이 문제는 텐서 인자의 첫 번째 차원을 기반으로 나눗셈을 수행하는 구현 방식 때문에 발생합니다.
💡 쉬운 설명
TensorFlow를 사용할 때 특정 명령어를 잘못 입력하면 프로그램이 계산 오류를 일으키며 갑자기 멈출 수 있습니다. 공격자가 이를 악용하면 시스템을 마비시킬 수 있습니다.
🇺🇸 원문 (English)
TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a denial of service via a FPE runtime error in `tf.raw_ops.Reverse`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/36229ea9e9451dac14a8b1f4711c435a1d84a594/tensorflow/core/kernels/reverse_op.cc#L75-L76) performs a division based on the first dimension of the tensor argument. 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 포함)
⚔️ 공격 벡터
조작된 텐서 인자를 `tf.raw_ops.Reverse` 연산에 전달하여 런타임 오류 유발
🛡️ 대응 방법
TensorFlow를 2.5.0 이상 버전으로 업데이트하거나 해당 패치가 적용된 보안 버전을 사용하십시오.
🔧 검증 코드
출력된 버전이 2.5.0 미만이면 해당 취약점에 노출된 상태입니다.
python3 -c 'import tensorflow as tf; print(tf.__version__)'