🇰🇷 한글 설명
TensorFlow의 MatrixTriangularSolve 구현에서 특정 유효성 검사 조건이 실패할 경우 커널 실행이 종료되지 않는 문제가 발생합니다. 이로 인해 프로세스가 무한 루프에 빠지거나 비정상적으로 지속될 수 있습니다. 해당 문제는 TensorFlow 2.5.0 및 주요 지원 버전(2.4.2, 2.3.3, 2.2.3, 2.1.4)에 패치가 적용될 예정입니다.
💡 쉬운 설명
머신러닝 도구인 TensorFlow에서 특정 수학 계산을 수행할 때 오류가 발생하면 프로그램이 멈추지 않고 계속 돌아가는 문제가 있습니다. 이로 인해 컴퓨터 자원이 낭비되거나 시스템이 느려질 수 있습니다.
🇺🇸 원문 (English)
TensorFlow is an end-to-end open source platform for machine learning. The implementation of `MatrixTriangularSolve`(https://github.com/tensorflow/tensorflow/blob/8cae746d8449c7dda5298327353d68613f16e798/tensorflow/core/kernels/linalg/matrix_triangular_solve_op_impl.h#L160-L240) fails to terminate kernel execution if one validation condition fails. 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 포함)
⚔️ 공격 벡터
조작된 입력 데이터를 통해 MatrixTriangularSolve 연산을 수행하여 커널 실행을 무한 루프에 빠뜨림
🛡️ 대응 방법
TensorFlow를 2.5.0 이상 버전으로 업데이트하거나, 사용 중인 버전의 보안 패치(2.4.2, 2.3.3 등)를 적용함
🔧 검증 코드
출력된 버전 번호가 2.5.0 미만인지 확인하여 취약 여부를 판단함
python3 -c 'import tensorflow as tf; print(tf.__version__)'