{"api_version":"1","generated_at":"2026-07-24T22:55:07+00:00","cve":"CVE-2020-7693","urls":{"html":"https://cve.report/CVE-2020-7693","api":"https://cve.report/api/cve/CVE-2020-7693.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-7693","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-7693"},"summary":{"title":"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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2020-07-09 14:15:00","updated_at":"2022-07-12 17:42:00"},"problem_types":["CWE-755"],"metrics":[],"references":[{"url":"https://github.com/sockjs/sockjs-node/pull/265","name":"https://github.com/sockjs/sockjs-node/pull/265","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Call res.write instead of res.end in writeHead by brycekahle · Pull Request #265 · sockjs/sockjs-node · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://snyk.io/vuln/SNYK-JS-SOCKJS-575261","name":"https://snyk.io/vuln/SNYK-JS-SOCKJS-575261","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Denial of Service (DoS) in sockjs | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575448","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575448","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Denial of Service (DoS) in org.webjars.npm:sockjs | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/andsnw/sockjs-dos-py","name":"https://github.com/andsnw/sockjs-dos-py","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"GitHub - andsnw/sockjs-dos-py: CVE-2020-7693: SockJS 0.3.19 Denial of Service POC","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/sockjs/sockjs-node/issues/252","name":"https://github.com/sockjs/sockjs-node/issues/252","refsource":"MISC","tags":["Exploit","Patch","Third Party Advisory"],"title":"ERR_STREAM_WRITE_AFTER_END when issuing upgrade request on non-existent URL · Issue #252 · sockjs/sockjs-node · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/sockjs/sockjs-node/commit/dd7e642cd69ee74385825816d30642c43e051d16","name":"https://github.com/sockjs/sockjs-node/commit/dd7e642cd69ee74385825816d30642c43e051d16","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Merge pull request #266 from cakoose/backport-writeHead-fix · sockjs/sockjs-node@dd7e642 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-7693","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7693","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Andrew Snow","lang":""}],"nvd_cpes":[{"cve_year":"2020","cve_id":"7693","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sockjs_project","cpe5":"sockjs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"7693","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sockjs_project","cpe5":"sockjs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-7693","qid":"982737","title":"Nodejs (npm) Security Update for sockjs (GHSA-c9g6-9335-x697)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2020-07-09T13:17:13.529496Z","ID":"CVE-2020-7693","STATE":"PUBLIC","TITLE":"Denial of Service (DoS)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"sockjs","version":{"version_data":[{"version_affected":"<","version_value":"0.3.20"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Denial of Service (DoS)"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-SOCKJS-575261","name":"https://snyk.io/vuln/SNYK-JS-SOCKJS-575261"},{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575448","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575448"},{"refsource":"MISC","url":"https://github.com/sockjs/sockjs-node/issues/252","name":"https://github.com/sockjs/sockjs-node/issues/252"},{"refsource":"MISC","url":"https://github.com/sockjs/sockjs-node/pull/265","name":"https://github.com/sockjs/sockjs-node/pull/265"},{"refsource":"MISC","url":"https://github.com/andsnw/sockjs-dos-py","name":"https://github.com/andsnw/sockjs-dos-py"},{"refsource":"MISC","url":"https://github.com/sockjs/sockjs-node/commit/dd7e642cd69ee74385825816d30642c43e051d16","name":"https://github.com/sockjs/sockjs-node/commit/dd7e642cd69ee74385825816d30642c43e051d16"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"}},"credit":[{"lang":"eng","value":"Andrew Snow"}]},"nvd":{"publishedDate":"2020-07-09 14:15:00","lastModifiedDate":"2022-07-12 17:42:00","problem_types":["CWE-755"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sockjs_project:sockjs:*:*:*:*:*:node.js:*:*","versionEndExcluding":"0.3.20","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"7693","Ordinal":"167974","Title":"CVE-2020-7693","CVE":"CVE-2020-7693","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"7693","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"7693","Ordinal":"2","NoteData":"2020-07-09","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"7693","Ordinal":"3","NoteData":"2020-07-09","Type":"Other","Title":"Modified"}]}}}