CVE-2019-13611: python-engineio vulnerable to Cross-Site Request Forgery (CSRF)
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.35049%
CWE
Published
7/30/2019
Updated
10/25/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
python-engineio | pip | <= 3.8.2 | 3.9.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing Origin header validation during WebSocket handshakes. The Server.handle_request function manages connection setup, and WebSocketTransport implementations (like aiohttp's _handle_websocket) process handshakes. Pre-3.9.0 versions lacked Origin checks in these functions, allowing attackers to establish unauthorized WebSocket connections using stolen cookies. The patch explicitly added Origin validation to these critical points in the connection lifecycle.