🔍 CVE-2022-26488

7.0
CVSS Score
HIGH
2022-03-10
2026-10-14 17:17
✅ 완료

🇰🇷 한글 설명

Windows 환경의 Python 3.10.3 미만 버전에서 로컬 사용자가 권한을 상승시킬 수 있는 취약점입니다. 설치 프로그램의 검색 경로 보안이 미흡하여, 공격자가 사용자 쓰기 권한이 있는 디렉토리를 시스템 PATH에 추가함으로써 검색 경로 하이재킹을 수행할 수 있습니다.

💡 쉬운 설명

컴퓨터가 프로그램을 찾을 때 사용하는 경로에 해커가 만든 가짜 경로를 끼워 넣을 수 있는 문제입니다. 이를 통해 일반 사용자가 관리자 권한을 몰래 획득할 수 있습니다.

🇺🇸 원문 (English)

In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured. The installer may allow a local attacker to add user-writable directories to the system search path. To exploit, an administrator must have installed Python for all users and enabled PATH entries. A non-administrative user can trigger a repair that incorrectly adds user-writable paths into PATH, enabling search-path hijacking of other users and system services. This affects Python (CPython) through 3.7.12, 3.8.x through 3.8.12, 3.9.x through 3.9.10, and 3.10.x through 3.10.2.

📍 영향받는 시스템

Python (CPython) 3.7.12, 3.8.x ~ 3.8.12, 3.9.x ~ 3.9.10, 3.10.x ~ 3.10.2 (Windows)

⚔️ 공격 벡터

로컬 사용자가 Python 복구 기능을 트리거하여 사용자 쓰기 가능 디렉토리를 시스템 PATH에 추가하는 검색 경로 하이재킹

🛡️ 대응 방법

Python을 3.10.3 이상 버전으로 업데이트하거나 최신 보안 패치가 적용된 버전으로 재설치하십시오.

🔧 검증 코드

출력된 Python 버전이 취약한 범위(3.10.3 미만 등)에 해당하는지 확인합니다.

Shell / Script
python --version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python