🔍 CVE-2026-45369

8.3
CVSS Score
HIGH
2026-05-14
2026-10-26 14:10
✅ 완료

🇰🇷 한글 설명

Python-UTCP 라이브러리의 cli_communication_protocol.py에서 _substitute_utcp_args 메소드가 사용자 입력(tool_args)을 검증 없이 셸 명령어에 직접 삽입합니다. 이를 통해 /bin/bash -c (Unix) 또는 powershell.exe -Command (Windows)로 임의 명령어 실행이 가능하며, 1.1.3 버전에서 수정되었습니다.

💡 쉬운 설명

python-utcp 라이브러리가 사용자 입력을 안전하게 처리하지 않아 악의적인 명령어 실행을 허용합니다. 1.1.3 이상으로 업그레이드하면 해결됩니다.

🇺🇸 원문 (English)

python-utcp is the python implementation of UTCP. Prior to 1.1.3, the _substitute_utcp_args method in cli_communication_protocol.py inserts user-controlled tool_args values directly into shell command strings without any sanitization or escaping. These commands are then executed via /bin/bash -c (Unix) or powershell.exe -Command (Windows), allowing an attacker to inject arbitrary shell commands. This vulnerability is fixed in 1.1.3.

📍 영향받는 시스템

python-utcp < 1.1.3

⚔️ 공격 벡터

tool_args 파라미터에 셸 메타문자(;, |, &&, >, <, $() 등)를 삽입하여 임의 명령어 실행

🛡️ 대응 방법

pip install --upgrade python-utcp>=1.1.3 실행

🔧 검증 코드

Version이 1.1.3 이상이면 취약점이 패치된 상태입니다.

Shell / Script
pip show python-utcp | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python