🇰🇷 한글 설명
tanstack db 0.6.8 버전 이하에서 Alias Path Handler의 select 함수 내에 프로토타입 오염 취약점이 발견되었습니다. 공격자가 원격에서 객체의 프로토타입 속성을 부적절하게 수정할 수 있으며, 현재 익스플로잇이 공개된 상태입니다.
💡 쉬운 설명
프로그램의 기본 설계도를 몰래 수정하여 시스템을 오작동하게 만드는 보안 약점이 발견되었습니다. 해커가 멀리서도 이 설계도를 조작할 수 있어 주의가 필요합니다.
🇺🇸 원문 (English)
A vulnerability was detected in tanstack db up to 0.6.8. Affected by this vulnerability is the function select of the file src/query/compiler/select.ts of the component Alias Path Handler. The manipulation results in improperly controlled modification of object prototype attributes. The attack may be launched remotely. The exploit is now public and may be used. The patch is identified as ac09b1177a100eafa85cba3cd09dd1f53f933ded. A patch should be applied to remediate this issue.
📍 영향받는 시스템
tanstack db version 0.6.8 및 그 이하 버전
⚔️ 공격 벡터
원격에서 조작된 데이터를 전송하여 객체의 프로토타입 속성을 변조하는 방식
🛡️ 대응 방법
패치 커밋(ac09b1177a100eafa85cba3cd09dd1f53f933ded)이 적용된 최신 버전으로 업데이트
🔧 검증 코드
출력된 버전이 0.6.8 이하인지 확인하여 취약 여부를 판단합니다.
npm list tanstack-db --depth=0 2>/dev/null | grep -E 'tanstack-db@'