🇰🇷 한글 설명
IBM Langflow OSS 1.0.0부터 1.10.3 버전에서 커스텀 컴포넌트 검증 메커니즘의 암호학적 취약점으로 인해 인증된 공격자가 임의의 코드를 실행할 수 있습니다. 하드닝 모드에서 SHA-256 해시를 부분적으로만 사용하여 검증하기 때문에, 공격자가 신뢰된 템플릿과 해시 충돌을 일으키는 악성 코드를 삽입하여 보안 통제를 우회할 수 있습니다.
💡 쉬운 설명
보안을 위해 검사하는 '지문(해시)'을 너무 짧게 확인하는 바람에, 가짜 지문이 진짜와 똑같다고 속여 악성 프로그램을 실행할 수 있는 문제입니다. 이를 통해 공격자는 시스템에 허가되지 않은 명령을 내릴 수 있습니다.
🇺🇸 원문 (English)
IBM Langflow OSS 1.0.0 through 1.10.3 could allow an authenticated attacker to execute arbitrary code due to a cryptographic weakness in the custom component validation mechanism. When the optional hardening mode that restricts execution to trusted component templates is enabled, the application validates component code using a truncated SHA‑256 hash. Because the hash comparison relies on only a portion of the digest, an attacker can craft malicious component code that collides with a trusted template hash and bypasses validation. Successful exploitation allows the attacker to introduce and execute unauthorized Python code within the Langflow process, defeating the intended security control and potentially leading to full compromise of the affected instance.
📍 영향받는 시스템
IBM Langflow OSS 1.0.0 ~ 1.10.3
⚔️ 공격 벡터
인증된 공격자가 신뢰된 컴포넌트 해시와 충돌하는 악성 Python 코드를 작성하여 검증을 우회하고 실행함
🛡️ 대응 방법
Langflow를 최신 보안 패치가 적용된 버전으로 업데이트하거나, 검증 로직이 수정된 버전을 사용하십시오.
🔧 검증 코드
출력된 버전이 1.10.3 이하인지 확인하여 취약 여부를 판단합니다.
pip show langflow | grep -E 'Version'