🔍 CVE-2014-1933

2.1
CVSS Score
LOW
2014-04-17
2026-05-06 22:30
✅ 완료

🇰🇷 한글 설명

Python Image Library (PIL) 1.1.7 이하와 Pillow 2.3.1 이전의 JpegImagePlugin.py, EpsImagePlugin.py에서 임시 파일 이름이 명령줄에 노출되는 보안 취약점입니다. 로컬 공격자가 프로세스 목록을 열람하여 임시 파일 이름을 파악한 후 심링크 공격을 수행할 수 있습니다.

💡 쉬운 설명

프로그램이 임시 파일을 만들 때 그 파일 이름이 모든 사용자에게 보여져서, 악의적인 로컬 사용자가 이를 이용해 파일을 조작할 수 있습니다. Pillow 라이브러리를 2.3.1 이상으로 업데이트하면 해결됩니다.

🇺🇸 원문 (English)

The (1) JpegImagePlugin.py and (2) EpsImagePlugin.py scripts in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 uses the names of temporary files on the command line, which makes it easier for local users to conduct symlink attacks by listing the processes.

📍 영향받는 시스템

PIL 1.1.7 이하, Pillow 2.3.0 이하 (모든 운영체제)

⚔️ 공격 벡터

로컬 사용자가 ps/프로세스 모니터링으로 임시 파일 이름 확인 후 심링크 생성으로 파일 접근 제어 우회

🛡️ 대응 방법

Pillow를 2.3.1 이상으로 업그레이드 (pip install --upgrade Pillow)

🔧 검증 코드

결과에서 Pillow 버전이 2.3.1 이상이면 취약점이 패치된 상태, 2.3.0 이하이면 업그레이드 필요

Shell / Script
python3 -c "from PIL import Image; print(Image.__version__ if hasattr(Image, '__version__') else 'version check unavailable')" 2>/dev/null || pip show Pillow | grep Version

📊 CVSS Vector String

CVSS Vector
AV:L/AC:L/Au:N/C:N/I:P/A:N

💻 영향받는 소프트웨어

Python