🇰🇷 한글 설명
@hono/node-server 어댑터의 1.10.1 미만 버전에서 Host 헤더에 처리할 수 없는 값이 포함될 경우 애플리케이션이 중단되는 현상이 발생합니다. 빈 문자열이나 슬래시(/)와 같이 URL 호스트네임으로 파싱할 수 없는 값이 입력될 때 서비스 거부(DoS) 상태에 빠질 수 있습니다.
💡 쉬운 설명
웹 서버에 잘못된 형식의 주소 정보를 보내면 서버가 응답을 멈추고 먹통이 되는 문제입니다. 공격자가 특수한 값을 보내 서버를 마비시킬 수 있습니다.
🇺🇸 원문 (English)
The adapter @hono/node-server allows you to run your Hono application on Node.js. Prior to 1.10.1, the application hangs when receiving a Host header with a value that `@hono/node-server` can't handle well. Invalid values are those that cannot be parsed by the `URL` as a hostname such as an empty string, slashes `/`, and other strings. The version 1.10.1 includes the fix for this issue.
📍 영향받는 시스템
@hono/node-server version < 1.10.1
⚔️ 공격 벡터
잘못된 형식의 Host HTTP 헤더를 포함한 요청을 전송하여 서비스 거부(DoS) 유발
🛡️ 대응 방법
@hono/node-server 버전을 1.10.1 이상으로 업데이트
🔧 검증 코드
출력된 버전이 1.10.1 미만인지 확인하여 취약 여부를 판단합니다.
npm list @hono/node-server