🇰🇷 한글 설명
TensorFlow의 `tf.ragged.cross` 함수를 위한 형상 추론(shape inference) 코드에서 nullptr에 참조를 바인딩하여 정의되지 않은 동작이 발생하는 취약점입니다. 이 문제는 TensorFlow 2.7.0 버전에서 수정되었으며, 지원 범위 내에 있는 2.6.1, 2.5.2, 2.4.4 버전에도 패치가 적용될 예정입니다.
💡 쉬운 설명
머신러닝 도구인 TensorFlow의 특정 기능을 사용할 때 프로그램이 예상치 못한 방식으로 작동하거나 오류를 일으킬 수 있는 결함입니다. 잘못된 메모리 참조로 인해 프로그램이 갑자기 종료되거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `tf.ragged.cross` has an undefined behavior due to binding a reference to `nullptr`. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
📍 영향받는 시스템
TensorFlow 2.7.0 미만 버전 (2.6.1, 2.5.2, 2.4.4 포함)
⚔️ 공격 벡터
취약한 `tf.ragged.cross` 함수를 호출하는 특수하게 조작된 입력 데이터를 통해 발생
🛡️ 대응 방법
TensorFlow를 2.7.0 이상 버전으로 업데이트하거나, 해당 패치가 적용된 2.6.1, 2.5.2, 2.4.4 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 2.7.0 이상인지, 혹은 패치가 적용된 2.6.1, 2.5.2, 2.4.4 버전인지 확인합니다.
python3 -c 'import tensorflow as tf; print(tf.__version__)'