🔍 CVE-2026-108597

4.8
CVSS Score
MEDIUM
2026-10-10
2026-10-16 17:25
✅ 완료

🇰🇷 한글 설명

Cohere Python SDK 5.11.0부터 7.2.0 버전에서 _s3_models_dir_to_tarfile 함수 내 경로 탐색(tar slip) 취약점이 발견되었습니다. 공격자가 S3 프리픽스에 모델 아카이브를 쓸 수 있는 경우, 검증되지 않은 tarfile.extractall 호출을 통해 호스트의 파일을 임의로 덮어쓸 수 있습니다.

💡 쉬운 설명

압축 파일을 풀 때 파일 경로를 제대로 검사하지 않아 발생하는 문제입니다. 나쁜 의도를 가진 압축 파일이 시스템의 중요한 파일을 덮어씌워 컴퓨터를 망가뜨릴 수 있습니다.

🇺🇸 원문 (English)

Cohere Python SDK 5.11.0 through 7.2.0 contains a path traversal (tar slip) vulnerability in _s3_models_dir_to_tarfile that allows arbitrary file write via unvalidated tarfile.extractall calls. Attackers who can write model archives to the victim's S3 prefix can include absolute paths or ../ members to overwrite files on the SDK host.

📍 영향받는 시스템

Cohere Python SDK 버전 5.11.0 ~ 7.2.0

⚔️ 공격 벡터

S3에 조작된 경로(../ 등)가 포함된 tar 파일을 업로드하여 SDK가 이를 압축 해제하도록 유도

🛡️ 대응 방법

Cohere Python SDK를 취약점이 해결된 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 5.11.0 이상 7.2.0 이하인지 확인하십시오.

Shell / Script
pip show cohere | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python