🇰🇷 한글 설명
TanStack Router의 특정 버전에서 인증되지 않은 공격자가 서버 함수 요청 페이로드에 비공개 필드를 삽입하여 공격자가 제어하는 HTML을 응답으로 반환하게 할 수 있는 취약점이 발견되었습니다. 이를 통해 공격자는 애플리케이션의 동일 출처(Same-origin) 데이터를 탈취하거나 사용자의 권한으로 요청을 수행하는 스크립트를 실행할 수 있습니다.
💡 쉬운 설명
해커가 조작된 요청을 보내 웹사이트가 가짜 내용을 보여주게 만드는 보안 구멍이 발견되었습니다. 사용자가 이 링크를 클릭하면 해커가 사용자의 개인 정보에 접근하거나 사용자 대신 행동을 할 수 있습니다.
🇺🇸 원문 (English)
TanStack Router is a client-first, server-capable, fully type-safe router and full-stack framework for the web. From 1.143.12 until 1.169.39 for @tanstack/start-server-core, 1.168.60 for @tanstack/react-start, 1.168.57 for @tanstack/solid-start, and 1.168.56 for @tanstack/vue-start, an unauthenticated attacker can place non-public fields in a server-function request payload so that attacker-controlled middleware state reaches the error path and a response-shaped object is accepted as an HTTP response. A crafted server-function URL can therefore return attacker-controlled HTML from the application's origin; when a visitor opens the URL, the injected script can access same-origin data and issue requests with the visitor's authority. This issue is fixed in @tanstack/start-server-core 1.169.39, @tanstack/react-start 1.168.60, @tanstack/solid-start 1.168.57, and @tanstack/vue-start 1.168.56.
📍 영향받는 시스템
@tanstack/start-server-core (1.143.12~1.169.39), @tanstack/react-start (1.168.60 미만), @tanstack/solid-start (1.168.57 미만), @tanstack/vue-start (1.168.56 미만)
⚔️ 공격 벡터
조작된 서버 함수 URL을 통해 비공개 필드가 포함된 페이로드를 전송하여 공격자가 제어하는 HTML 응답 유도
🛡️ 대응 방법
각 패키지의 최신 수정 버전(@tanstack/start-server-core 1.169.39 이상 등)으로 업데이트
🔧 검증 코드
출력된 패키지 목록의 버전이 취약한 버전 범위에 포함되는지 확인
npm list @tanstack/start-server-core @tanstack/react-start @tanstack/solid-start @tanstack/vue-start
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server