GitHub Advisory Database
GHSA-fxwf-4rqh-v8g3
CORS misconfiguration in socket.io
Details
The package socket.io before 2.4.0 are vulnerable to Insecure Defaults due to CORS Misconfiguration. All domains are whitelisted by default.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | socket.io | All versions before 2.4.0 (fixed in 2.4.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28481
- https://github.com/socketio/socket.io/issues/3671
- https://github.com/socketio/socket.io/commit/f78a575f66ab693c3ea96ea88429ddb1a44c86c7
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1056358
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1056357
- https://snyk.io/vuln/SNYK-JS-SOCKETIO-1024859