Skip to content
High 7.5

websocket-driverの脆弱性によりメモリが枯渇し、サーバーがクラッシュするおそれ

CVE-2026-140015 First seen on SecPulse

Summary

websocket-driverの0.9.1より前のバージョンには、WebSocketのclose後に届いたデータをバッファに貯め続ける脆弱性があります。認証のない遠隔の攻撃者がこの仕組みを使うと、サーバーのメモリを使い果たしてプロセスがクラッシュするおそれがあります。対策は0.9.1への修正版の適用です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

websocket-driverの0.9.1より前のバージョンには、WebSocketのclose後に届いたデータをバッファに貯め続ける脆弱性があります。認証のない遠隔の攻撃者がこの仕組みを使うと、サーバーのメモリを使い果たしてプロセスがクラッシュするおそれがあります。対策は0.9.1への修正版の適用です。

Affected packages

PackageAffected → Fixed
fayewebsocket-driver-ruby —
rubygemswebsocket-driver
< 0.9.1→ 0.9.1

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.1, a server piping socket bytes into websocket-driver continued adding data to an internal buffer after a WebSocket close frame caused the driver to emit a close event. Because TCP permits the peer to keep a half-open connection and continue sending bytes, the unconsumed buffer could grow indefinitely until an unauthenticated remote attacker exhausted server memory and crashed the process. This issue is fixed in version 0.9.1.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details