🇰🇷 한글 설명
TensorFlow의 SparseBinCount 구현에서 힙 영역의 OOB(Out-of-Bounds) 접근 취약점이 발견되었습니다. 이는 values 인자의 요소와 희소 출력 형태 간의 유효성 검사가 누락되어 발생하며, 힙 메모리 손상을 초래할 수 있습니다.
💡 쉬운 설명
머신러닝 도구인 TensorFlow에서 데이터를 처리할 때 정해진 메모리 범위를 벗어나 데이터를 읽거나 쓰는 오류가 있습니다. 이로 인해 프로그램이 강제 종료되거나 해커가 시스템에 악영향을 줄 수 있습니다.
🇺🇸 원문 (English)
TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseBinCount` is vulnerable to a heap OOB access. This is because of missing validation between the elements of the `values` argument and the shape of the sparse output. 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 포함)
⚔️ 공격 벡터
조작된 SparseBinCount 입력 데이터를 통한 힙 메모리 경계 외 접근
🛡️ 대응 방법
TensorFlow를 2.7.0 이상 버전으로 업데이트하거나, 지원되는 버전(2.6.1, 2.5.2, 2.4.4)의 보안 패치를 적용하십시오.
🔧 검증 코드
출력된 버전 번호가 2.7.0 미만인지 확인하십시오.
python3 -c 'import tensorflow as tf; print(tf.__version__)'