🇰🇷 한글 설명
TensorFlow의 MatrixDiag* 연산 구현 과정에서 텐서 인자가 비어 있는지 확인하는 유효성 검사 과정이 누락되었습니다. 이로 인해 비어 있는 텐서를 처리할 때 예기치 않은 동작이 발생할 수 있습니다.
💡 쉬운 설명
머신러닝 도구인 TensorFlow에서 데이터가 비어 있는지 확인하지 않는 오류가 발견되었습니다. 데이터가 없는 상태로 계산을 시도하면 프로그램이 제대로 작동하지 않을 수 있습니다.
🇺🇸 원문 (English)
TensorFlow is an end-to-end open source platform for machine learning. The implementation of `MatrixDiag*` operations(https://github.com/tensorflow/tensorflow/blob/4c4f420e68f1cfaf8f4b6e8e3eb857e9e4c3ff33/tensorflow/core/kernels/linalg/matrix_diag_op.cc#L195-L197) does not validate that the tensor arguments are non-empty. 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 포함)
⚔️ 공격 벡터
조작된 빈 텐서 데이터를 입력하여 연산 과정의 오류를 유도함
🛡️ 대응 방법
TensorFlow를 2.5.0 이상의 버전으로 업데이트하거나 해당 패치가 적용된 버전으로 업그레이드하십시오.
🔧 검증 코드
출력된 버전 번호가 2.5.0보다 낮은지 확인하십시오.
python3 -c 'import tensorflow as tf; print(tf.__version__)'