🔍 CVE-2026-53940

8.8
CVSS Score
HIGH
2026-09-21
2026-09-24 21:16
✅ 완료

🇰🇷 한글 설명

Conda 26.5.2 미만 버전에서 noarch:python 패키지의 metadata를 처리할 때 경로 검증이 누락되는 취약점이 발견되었습니다. 공격자는 경로 탐색(Path Traversal) 기법을 사용하여 설치 경로 외부의 파일을 쓰거나 기존 실행 파일을 덮어쓸 수 있습니다. 이를 통해 설치 사용자의 권한으로 악성 코드를 실행할 수 있는 위험이 있습니다.

💡 쉬운 설명

악성 패키지를 설치할 때 컴퓨터의 중요한 파일을 몰래 바꾸거나 엉뚱한 곳에 파일을 저장할 수 있는 보안 구멍입니다. 이 취약점을 이용하면 해커가 사용자의 권한을 가로채 컴퓨터를 조종할 수 있습니다.

🇺🇸 원문 (English)

Conda is a system-level binary package and environment manager that runs on major operating systems and platforms. Prior to 26.5.2, parse_entry_point_def in conda/common/path/python.py accepted an unvalidated entry-point command from a noarch:python package's info/link.json metadata. CreatePythonEntryPointAction in conda/core/path_actions.py interpolated that command into target_short_path, and PrefixPathAction.target_full_path joined it to the installation prefix without verifying that the result remained under the intended bin or Scripts directory. create_python_entry_point in conda/gateways/disk/create.py then wrote an executable wrapper to the resulting path. A malicious package could use path separators, traversal segments, or an absolute command path to write outside the prefix or overwrite another in-prefix entry point during default install and environment transactions. Out-of-prefix writes require the target parent directory to exist, while an overwritten entry point can execute attacker-controlled Python when later invoked with the installing user's privileges. This issue is fixed in version 26.5.2.

📍 영향받는 시스템

Conda versions prior to 26.5.2

⚔️ 공격 벡터

악성 noarch:python 패키지 설치를 통한 경로 탐색 및 임의 파일 쓰기

🛡️ 대응 방법

Conda를 최신 버전인 26.5.2 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 26.5.2 미만이면 취약한 상태이며, 26.5.2 이상이면 안전합니다.

Shell / Script
conda --version | grep -E '26\.[0-5]\.'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python