🇰🇷 한글 설명
agno-agi agno 3.0.6 버전 이하에서 PythonTools 구성 요소의 run_python_code 함수에 코드 주입 취약점이 발견되었습니다. 공격자가 code 인자를 조작하여 원격으로 악성 코드를 실행할 수 있으며, 관련 익스플로잇이 이미 공개된 상태입니다.
💡 쉬운 설명
프로그램이 사용자가 입력한 코드를 검증 없이 실행하여 해커가 컴퓨터를 마음대로 조종할 수 있는 보안 구멍이 발견되었습니다. 인터넷을 통해 멀리 떨어진 곳에서도 공격이 가능하며 이미 공격 방법이 알려져 있어 위험합니다.
🇺🇸 원문 (English)
A vulnerability was found in agno-agi agno up to 3.0.6. Affected by this vulnerability is the function run_python_code of the file python.py of the component PythonTools. The manipulation of the argument code results in code injection. The attack can be launched remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
agno-agi agno 3.0.6 이하 버전
⚔️ 공격 벡터
원격에서 run_python_code 함수의 인자값을 조작하여 악성 파이썬 코드 주입
🛡️ 대응 방법
해당 취약점이 해결된 최신 버전으로 업데이트하거나, 외부 입력값이 run_python_code 함수에 직접 전달되지 않도록 입력값 검증 로직을 구현해야 합니다.
🔧 검증 코드
출력된 버전 번호가 3.0.6 이하인지 확인하여 취약 여부를 판단합니다.
pip show agno | grep Version