🔍 CVE-2026-59974

7.8
CVSS Score
HIGH
2026-09-16
2026-09-30 17:43
✅ 완료

🇰🇷 한글 설명

Stanford NLP 라이브러리인 Stanza의 1.14.0 미만 버전에서 zipfile.ZipFile.extractall 함수가 압축 해제 시 경로 검증을 수행하지 않는 취약점이 발견되었습니다. 공격자가 조작된 아카이브를 통해 상위 디렉토리로 이동(Path Traversal)하여 의도하지 않은 위치에 파일을 덮어쓸 수 있으며, 이는 코드 실행으로 이어질 수 있습니다.

💡 쉬운 설명

Stanza 라이브러리가 파일을 압축 해제할 때 파일의 위치를 제대로 확인하지 않아 발생하는 문제입니다. 나쁜 의도를 가진 압축 파일을 사용하면 컴퓨터의 중요한 설정 파일을 몰래 바꿔치기하여 해커가 명령을 실행하게 만들 수 있습니다.

🇺🇸 원문 (English)

Stanza is a Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages. Prior to 1.14.0, stanza.resources.common.unzip in stanza/resources/common.py passes downloaded model and resource archives to zipfile.ZipFile.extractall without validating member paths, and the vulnerable extraction path is reachable through stanza.download and stanza.install_corenlp. A malicious archive containing parent-directory traversal entries can write outside the intended model directory, allowing files writable by the Stanza process to be overwritten and potentially enabling code execution through modified shell configuration, SSH authorization data, Python packages, or executable scripts. This issue is fixed in version 1.14.0.

📍 영향받는 시스템

Stanza Python library versions prior to 1.14.0

⚔️ 공격 벡터

stanza.download 또는 stanza.install_corenlp를 통해 조작된 경로 탐색(Path Traversal)이 포함된 아카이브를 다운로드 및 압축 해제 유도

🛡️ 대응 방법

Stanza 라이브러리를 1.14.0 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 1.14.0보다 낮으면 취약한 상태입니다.

Shell / Script
pip show stanza | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python