🔍 CVE-2021-41212

7.1
CVSS Score
HIGH
2021-11-05
2026-06-17 04:08
✅ 완료

🇰🇷 한글 설명

TensorFlow의 `tf.ragged.cross` 함수 내 형상 추론(shape inference) 코드에서 힙 할당된 배열의 범위를 벗어난 읽기 오류가 발생할 수 있습니다. 이 취약점은 TensorFlow의 특정 버전들에서 발생하며, 2.7.0 버전 및 지원 범위 내의 이전 버전들에 대한 패치가 제공됩니다.

💡 쉬운 설명

머신러닝 도구인 TensorFlow를 사용할 때, 특정 명령어를 잘못 처리하면 컴퓨터 메모리의 허용되지 않은 영역을 읽어올 수 있는 보안 약점이 있습니다. 이를 통해 시스템의 민감한 정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `tf.ragged.cross` can trigger a read outside of bounds of heap allocated array. 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 버전인지 확인

Shell / Script
python3 -c 'import tensorflow as tf; print(tf.__version__)'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

💻 영향받는 소프트웨어

Azure Machine Learning