🇰🇷 한글 설명
Node.js용 웹 프레임워크인 fastify에서 Content-Type 헤더를 악의적으로 사용할 경우 서비스 거부(DoS)가 발생할 수 있는 취약점입니다. 공격자가 잘못된 형식의 Content-Type 헤더를 전송하면 애플리케이션이 충돌하여 중단될 수 있습니다.
💡 쉬운 설명
웹사이트에 잘못된 형식의 데이터 종류 정보를 보내서 서버를 강제로 멈추게 만드는 공격입니다. 이로 인해 웹사이트 접속이 불가능해질 수 있습니다.
🇺🇸 원문 (English)
fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify are subject to a denial of service via malicious use of the Content-Type header. An attacker can send an invalid Content-Type header that can cause the application to crash. This issue has been addressed in commit `fbb07e8d` and will be included in release version 4.8.1. Users are advised to upgrade. Users unable to upgrade may manually filter out http content with malicious Content-Type headers.
📍 영향받는 시스템
fastify (4.8.1 미만 버전)
⚔️ 공격 벡터
조작된 Content-Type 헤더를 포함한 HTTP 요청 전송
🛡️ 대응 방법
fastify를 4.8.1 버전 이상으로 업그레이드하거나, 악의적인 Content-Type 헤더를 필터링하도록 설정합니다.
🔧 검증 코드
출력된 fastify의 버전이 4.8.1 미만인지 확인합니다.