🇰🇷 한글 설명
GuardDog의 원격 프로젝트 스캔 기능에서 공격자가 제어 가능한 URL을 블라인드 문자열 교체로 처리하면서 발생하는 SSRF 취약점입니다. 이를 통해 공격자는 리포지토리 URL을 조작하여 사용자의 GitHub 토큰(GH_TOKEN)을 탈취할 수 있습니다. 버전 1.0.0부터 2.9.0까지 영향을 받습니다.
💡 쉬운 설명
GuardDog이 악성 패키지를 검사할 때 공격자가 리포지토리 주소를 조작할 수 있는 취약점입니다. 이를 악용하면 GitHub 보안 토큰을 훔칠 수 있습니다.
🇺🇸 원문 (English)
GuardDog is a CLI tool to identify malicious PyPI packages. From 1.0.0 to 2.9.0, the programmatic remote project scanning path rewrites attacker-controlled repository URLs using a blind string replacement and then sends the caller's GitHub credentials with the resulting request. This allows an attacker who can influence the scanned repository URL to trigger SSRF and capture the GH_TOKEN used by GuardDog. This vulnerability is fixed in .
📍 영향받는 시스템
GuardDog 1.0.0 ~ 2.9.0
⚔️ 공격 벡터
SSRF 기반 URL 조작을 통한 GitHub 자격증명 탈취
🛡️ 대응 방법
GuardDog을 2.9.1 이상 패치 버전으로 업데이트
🔧 검증 코드
설치된 GuardDog 버전이 2.9.1 이상이면 취약점이 패치된 상태입니다.
pip show guarddog | grep Version || python -m pip list | grep guarddog