🇰🇷 한글 설명
Python StateMachine 3.0.0 미만 3.2.0 버전에서 원격 코드 실행(RCE) 취약점이 발견되었습니다. 공격자가 조작된 SCXML 문서 내 <data expr="..."> 속성을 제공하면, SCXMLProcessor가 이를 검증 없이 Python의 eval() 함수로 전달하여 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
특수하게 제작된 파일을 프로그램에 입력하면 해커가 내 컴퓨터에서 마음대로 명령어를 실행할 수 있는 보안 구멍이 있습니다. 프로그램이 입력된 내용을 검사하지 않고 그대로 실행하기 때문에 발생하는 문제입니다.
🇺🇸 원문 (English)
Python StateMachine versions 3.0.0 before 3.2.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary code by supplying malicious SCXML documents containing crafted `<data expr="...">` attributes evaluated unsafely. The SCXMLProcessor passes attacker-controlled expression strings through a call chain ending in Python's built-in eval() without sandboxing, enabling arbitrary code execution in the context of the hosting process.
📍 영향받는 시스템
Python StateMachine versions 3.0.0 to 3.1.x
⚔️ 공격 벡터
조작된 <data expr="..."> 속성이 포함된 악성 SCXML 문서를 통한 원격 공격
🛡️ 대응 방법
Python StateMachine 버전을 3.2.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 Version이 3.2.0 미만이면 취약한 상태입니다.
pip show statemachine | grep Version