CVE-2020-7693
MEDIUM 5.3CVSS 3.1Improper Input Validation in SocksJS-Node
Incorrect handling of Upgrade header with the value websocket leads in crashing of containers hosting sockjs apps. This affects the package sockjs before 0.3.20.
- Published
- 9 Jul 2020
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-20CWE-755
- Also known as
- GHSA-c9g6-9335-x697
- Sources
- NVDJSONOSV GHSA-c9g6-9335-x697JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sockjs_project | sockjscpe:2.3:a:sockjs_project:sockjs:*:*:*:*:*:node.js:*:* |
< 0.3.20 | 0.3.20 |
| OSV | npm | sockjs | < 0.3.20 | 0.3.20 |
References
- https://github.com/andsnw/sockjs-dos-py · Exploit, Third Party Advisory, WEB
- https://github.com/sockjs/sockjs-node/commit/dd7e642cd69ee74385825816d30642c43e051d16 · Patch, Third Party Advisory, WEB
- https://github.com/sockjs/sockjs-node/issues/252 · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/sockjs/sockjs-node/pull/265 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575448 · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-SOCKJS-575261 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7693 · ADVISORY
- https://www.npmjs.com/package/sockjs · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 9 Jul 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Apr 2021)