Advisory

GHSA-j3jp-gvr5-7hwq

Also known as: CVE-2019-13611, PYSEC-2019-170

Summary

python-engineio vulnerable to Cross-Site Request Forgery (CSRF)

Details

WebSocket cross-origin vulnerability

Impact
This is a Cross-Site Request Forgery (CSRF) vulnerability. It affects Socket.IO and Engine.IO web servers that authenticate clients using cookies.

Patches
python-engineio version 3.9.0 patches this vulnerability by adding server-side Origin header checks.

Workarounds
Do not use cookies for client authentication, or else add a CSRF token to the connection URL.

References
https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)
https://www.christian-schneider.net/CrossSiteWebSocketHijacking.html

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-07-30 20:47 UTC
Modified
2024-10-25 21:01 UTC

Affected packages and fixes

python-engineio

PyPI · All systems

Affected

  • introduced 0, fixed 3.9.0 (ecosystem)

Fixed versions

3.9.0

Fix

  • Fixed version 3.9.0
    pip install --upgrade python-engineio==3.9.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences