{"api_version":"1","generated_at":"2026-07-23T08:35:26+00:00","cve":"CVE-2017-16098","urls":{"html":"https://cve.report/CVE-2017-16098","api":"https://cve.report/api/cve/CVE-2017-16098.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-16098","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-16098"},"summary":{"title":"CVE-2017-16098","description":"charset 1.0.0 and below are vulnerable to regular expression denial of service. Input of around 50k characters is required for a slow down of around 2 seconds. Unless node was compiled using the -DHTTP_MAX_HEADER_SIZE= option the default header max length is 80kb, so the impact of the ReDoS is relatively low.","state":"PUBLIC","assigner":"support@hackerone.com","published_at":"2018-06-07 02:29:00","updated_at":"2019-10-09 23:24:00"},"problem_types":["CWE-400"],"metrics":[],"references":[{"url":"https://nodesecurity.io/advisories/524","name":"https://nodesecurity.io/advisories/524","refsource":"MISC","tags":["Third Party Advisory"],"title":"Overview","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/node-modules/charset/issues/10","name":"https://github.com/node-modules/charset/issues/10","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Vulnerable Regular Expression · Issue #10 · node-modules/charset · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16098","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16098","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"16098","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"charset_project","cpe5":"charset","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"16098","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"charset_project","cpe5":"charset","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-16098","qid":"983921","title":"Nodejs (npm) Security Update for charset (GHSA-9cp3-fh5x-xfcj)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","DATE_PUBLIC":"2018-04-26T00:00:00","ID":"CVE-2017-16098","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"charset node module","version":{"version_data":[{"version_value":"<1.0.0"}]}}]},"vendor_name":"HackerOne"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"charset 1.0.0 and below are vulnerable to regular expression denial of service. Input of around 50k characters is required for a slow down of around 2 seconds. Unless node was compiled using the -DHTTP_MAX_HEADER_SIZE= option the default header max length is 80kb, so the impact of the ReDoS is relatively low."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Denial of Service (CWE-400)"}]}]},"references":{"reference_data":[{"name":"https://nodesecurity.io/advisories/524","refsource":"MISC","url":"https://nodesecurity.io/advisories/524"},{"name":"https://github.com/node-modules/charset/issues/10","refsource":"MISC","url":"https://github.com/node-modules/charset/issues/10"}]}},"nvd":{"publishedDate":"2018-06-07 02:29:00","lastModifiedDate":"2019-10-09 23:24:00","problem_types":["CWE-400"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"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":true,"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:charset_project:charset:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.0.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"16098","Ordinal":"113607","Title":"CVE-2017-16098","CVE":"CVE-2017-16098","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"16098","Ordinal":"1","NoteData":"charset 1.0.0 and below are vulnerable to regular expression denial of service. Input of around 50k characters is required for a slow down of around 2 seconds. Unless node was compiled using the -DHTTP_MAX_HEADER_SIZE= option the default header max length is 80kb, so the impact of the ReDoS is relatively low.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"16098","Ordinal":"2","NoteData":"2018-06-06","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"16098","Ordinal":"3","NoteData":"2018-06-06","Type":"Other","Title":"Modified"}]}}}