🇰🇷 한글 설명
TensorFlow의 `SparseFillEmptyRows` 구현 과정에서 `indices`와 `values`의 크기가 일치하지 않을 경우 힙 영역의 경계 외 접근(OOB)이 발생할 수 있습니다. 이 취약점은 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 implementation of `SparseFillEmptyRows` can be made to trigger a heap OOB access. This occurs whenever the size of `indices` does not match the size of `values`. 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 포함)
⚔️ 공격 벡터
조작된 크기의 indices와 values 데이터를 입력하여 힙 메모리 경계 외 접근 유도
🛡️ 대응 방법
TensorFlow를 2.7.0 이상 버전으로 업데이트하거나, 사용 중인 지원 버전의 보안 패치 적용
🔧 검증 코드
출력된 버전이 2.7.0 미만인지 확인하여 취약 여부를 판단합니다.
python3 -c 'import tensorflow as tf; print(tf.__version__)'