🔍 CVE-2026-54490

0.0
CVSS Score
UNKNOWN
2026-07-17
2026-10-24 20:10
✅ 완료

🇰🇷 한글 설명

websocket-driver 0.7.5 미만 버전에서 permessage-deflate 확장을 사용할 때, 압축된 데이터 크기만을 기준으로 메시지 크기를 검사하는 취약점이 존재합니다. 이로 인해 압축 해제 후의 실제 메시지 크기가 설정된 최대 제한을 초과할 수 있어, 의도치 않은 리소스 사용량 증가를 초래할 수 있습니다.

💡 쉬운 설명

데이터를 압축해서 보낼 때, 압축된 크기만 확인하고 실제 풀었을 때의 크기는 확인하지 않는 문제입니다. 이로 인해 너무 큰 데이터가 들어와도 시스템이 이를 걸러내지 못해 메모리가 부족해질 수 있습니다.

🇺🇸 원문 (English)

websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.7.5, if this library is used with the permessage-deflate extension, a WebSocket server or client can be made to accept messages that are larger than the configured maximum message size because the limit is checked against the message frames' length headers, which give the size of the compressed data, not the size after decompression in lib/websocket/driver/hybi.js. This can lead to applications accepting larger messages than expected and exceeding their intended resource usage. This issue is fixed in version 0.7.5.

📍 영향받는 시스템

websocket-driver version < 0.7.5

⚔️ 공격 벡터

permessage-deflate 확장을 사용하는 WebSocket 서버 또는 클라이언트를 대상으로 압축 해제 시 설정값을 초과하는 대용량 메시지 전송

🛡️ 대응 방법

websocket-driver 라이브러리를 0.7.5 버전 이상으로 업데이트

🔧 검증 코드

출력된 버전 번호가 0.7.5 미만이면 취약한 상태이며, 0.7.5 이상이면 안전합니다.

Shell / Script
npm list websocket-driver | grep -E 'websocket-driver@([0-9]\.[0-9]\.[0-9])' | awk -F'@' '{print $2}'

💻 영향받는 소프트웨어

IBM WebSphere Application Server