{"id":"CVE-2020-7693","aliases":["CLSA-2026-1776731780","CLSA-2026-1784856033","EUVD-2021-0811","GHSA-c9g6-9335-x697"],"status":"published","title":"Denial of Service (DoS)","description":"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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.04978,"percentile":0.9226,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20","CWE-755"],"published":"2020-07-09T13:20:24Z","modified":"2026-10-24T10:50:06Z","exploits":[{"source":"pocgithub","id":"andsnw/sockjs-dos-py","title":"andsnw/sockjs-dos-py","date":"2020-07-03","url":"https://github.com/andsnw/sockjs-dos-py"},{"source":"pocgithub","id":"thewindghost/CVE-2020-7693","title":"thewindghost/CVE-2020-7693","date":"2026-01-13","url":"https://github.com/thewindghost/CVE-2020-7693"}],"fixes":[{"ecosystem":"npm","package":"sockjs","fixed_in":["0.3.20"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"sockjs","fixed_in":["0.3.19-tuxcare.1","0.3.18-tuxcare.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"sockjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.20"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"sockjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.19-tuxcare.0"},{"fixed":"0.3.19-tuxcare.1"}]}],"versions":["0.3.19"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"sockjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.18-tuxcare.0"},{"fixed":"0.3.18-tuxcare.1"}]}],"versions":["0.3.18"]},{"source":"osv","ecosystem":"npm","package":"sockjs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.20"}]}]}],"products":[{"vendor":"sockjs_project","product":"sockjs"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SOCKJS-575261","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575448","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/sockjs/sockjs-node/issues/252","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/sockjs/sockjs-node/pull/265","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/andsnw/sockjs-dos-py","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/sockjs/sockjs-node/commit/dd7e642cd69ee74385825816d30642c43e051d16","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7693","tags":["advisory"]},{"url":"https://www.npmjs.com/package/sockjs","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c9g6-9335-x697"}],"sources":{"cve":[{"id":"CVE-2020-7693","title":"Denial of Service (DoS)","description":"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.","status":"published","published":"2020-07-09T13:20:24.056Z","modified":"2024-09-17T00:16:52.624Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.787905Z"}],"euvd":[{"id":"EUVD-2021-0811","description":"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.","status":"published","published":"2020-07-09T13:20:24Z","modified":"2024-09-17T00:16:52Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O","level":"medium"}],"updated_at":"2026-11-03T00:29:00.142007Z"}],"ghsa":[{"id":"GHSA-c9g6-9335-x697","title":"Improper Input Validation in SocksJS-Node","description":"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.","status":"published","published":"2021-04-13T15:27:51Z","modified":"2023-02-01T05:05:24Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:34.260786Z"}],"nvd":[{"id":"CVE-2020-7693","description":"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.","status":"published","published":"2020-07-09T14:15:11.197Z","modified":"2026-06-17T03:25:16.63Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-755"],"updated_at":"2026-11-02T14:06:09.126752Z"}],"osv":[{"id":"CVE-2020-7693","description":"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.","status":"published","published":"2020-07-09T14:15:11.197Z","modified":"2026-10-24T10:50:06.825956112Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"GHSA-c9g6-9335-x697","title":"Improper Input Validation in SocksJS-Node","description":"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.","status":"published","published":"2021-04-13T15:27:51Z","modified":"2024-09-03T02:27:05.113268Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"CLSA-2026-1776731780","title":"TuxCare security update for sockjs (1 CVE)","description":"TuxCare rebuilt sockjs to address 1 CVE. Fixed in 0.3.19-tuxcare.1.","status":"published","published":"2026-08-04T14:52:27Z","modified":"2026-10-15T09:47:02.815899421Z","updated_at":"2026-11-02T15:43:44.009773Z"},{"id":"CLSA-2026-1784856033","title":"TuxCare security update for sockjs (1 CVE)","description":"TuxCare rebuilt sockjs to address 1 CVE. Fixed in 0.3.18-tuxcare.1.","status":"published","published":"2026-08-04T14:52:48Z","modified":"2026-10-15T09:47:55.005171639Z","updated_at":"2026-11-02T15:43:46.482572Z"}]}}
