GitHub Advisoryadvisory · PyPI
GHSA-j3jp-gvr5-7hwq python-engineio vulnerable to Cross-Site Request Forgery (CSRF)
HIGH
Official page ↗
- Aliases
- CVE-2019-13611
- Ecosystem
- PyPI
- Packages
- python-engineio
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-352
- Reviewed
- 2020-06-16
Affected packages
• PyPI python-engineio: < 3.9.0 → fixed in 3.9.0
Description
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:
• Open an issue in python-engineio
Related
Alias · CVE (1)
- CVE-2019-13611 An issue was discovered in python-engineio through 3.8.2. vulnerability
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://github.com/miguelgrinberg/python-engineio/security/advisories/GHSA-j3jp-gvr5-7hwq web
- https://nvd.nist.gov/vuln/detail/CVE-2019-13611 advisory
- https://github.com/miguelgrinberg/python-engineio/issues/128 web
- https://github.com/advisories/GHSA-j3jp-gvr5-7hwq advisory
- https://github.com/miguelgrinberg/python-engineio package
- https://github.com/pypa/advisory-database/tree/main/vulns/python-engineio/PYSEC-2019-170.yaml web