🇰🇷 한글 설명
TensorFlow의 `tf.raw_ops.SdcaOptimizer` 구현 과정에서 사용자 입력값에 대한 검증이 누락되어 Null 포인터 역참조로 인한 정의되지 않은 동작이 발생합니다. 이 취약점은 적절한 입력값 제약 조건을 확인하지 않아 발생하며, TensorFlow 2.5.0 및 주요 지원 버전에서 수정되었습니다.
💡 쉬운 설명
머신러닝 도구인 TensorFlow에서 잘못된 데이터를 입력했을 때 프로그램이 예상치 못한 방식으로 작동하거나 멈출 수 있는 오류입니다. 사용자가 입력한 값이 규칙에 맞는지 확인하는 과정이 빠져 있어 발생하는 문제입니다.
🇺🇸 원문 (English)
TensorFlow is an end-to-end open source platform for machine learning. The implementation of `tf.raw_ops.SdcaOptimizer` triggers undefined behavior due to dereferencing a null pointer. The implementation(https://github.com/tensorflow/tensorflow/blob/60a45c8b6192a4699f2e2709a2645a751d435cc3/tensorflow/core/kernels/sdca_internal.cc) does not validate that the user supplied arguments satisfy all constraints expected by the op(https://www.tensorflow.org/api_docs/python/tf/raw_ops/SdcaOptimizer). 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.SdcaOptimizer` 연산 호출
🛡️ 대응 방법
TensorFlow를 2.5.0 이상의 최신 버전으로 업데이트하거나 해당 보안 패치가 적용된 버전으로 업그레이드하십시오.
🔧 검증 코드
출력된 버전 번호가 2.5.0보다 낮은지 확인하십시오.
python3 -c 'import tensorflow as tf; print(tf.__version__)'