🇰🇷 한글 설명
AutoGPT 0.6.34~0.6.51에서 Redis 캐시의 pickle 역직렬화 시 무결성 검증을 수행하지 않아 발생하는 취약점입니다. 공격자가 공유 Redis 캐시 키를 조작할 경우 백엔드 컨테이너에서 임의의 명령을 실행할 수 있으며, 기밀성, 무결성, 가용성이 모두 영향을 받습니다.
💡 쉬운 설명
AutoGPT의 데이터 저장소(Redis)에서 신뢰할 수 없는 데이터를 검증 없이 읽으면 해커가 악성 명령을 주입할 수 있습니다. 버전 0.6.52 이상으로 업그레이드하면 됩니다.
🇺🇸 원문 (English)
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. In versions 0.6.34 through 0.6.51, the backend deserializes Redis cache bytes using pickle.loads without integrity/authenticity checks. The write path serializes values with pickle.dumps(...) into Redis and the read path blindly invokes pickle.loads(...) on bytes with no HMAC/signature or strict schema validation gating deserialization. If an attacker can poison a shared-cache key in Redis, arbitrary command execution is possible in the backend container context, affecting confidentiality, integrity, and availability. This issue has been fixed in version 0.6.52.
📍 영향받는 시스템
AutoGPT 0.6.34 ~ 0.6.51 (고정: 0.6.52+)
⚔️ 공격 벡터
공유 Redis 캐시에 악의적으로 직렬화된 Python 객체를 주입하여 백엔드 역직렬화 시 임의 코드 실행
🛡️ 대응 방법
AutoGPT를 0.6.52 이상으로 업그레이드하거나 Redis에 대한 네트워크 접근 제한 및 암호화 적용
🔧 검증 코드
설치된 AutoGPT 버전이 0.6.52 이상이면 안전하고, 0.6.34~0.6.51이면 취약합니다.
pip show autogpt 2>/dev/null | grep Version || grep -E 'version.*=.*[0-9]' setup.py pyproject.toml 2>/dev/null | head -1