{"id":"CVE-2017-16098","published":"2018-06-07T02:00:00Z","modified":"2024-09-16T18:03:05Z","title":"charset 1.0.0 and below are vulnerable to regular expression denial of service","vendor":"HackerOne","product":"charset node module","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.016,"percentile":0.76384,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://nodesecurity.io/advisories/524","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-modules/charset/issues/10","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":15.28}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"charset node module","versions":["<1.0.0"]}],"affected":[{"ecosystem":"npm","package":"charset","vulnerableRanges":["<1.0.1"],"patched":["1.0.1"],"from":["GHSA-9cp3-fh5x-xfcj"],"provenance":"source"}],"summary":{"text":"The charset Node.js module, version 1.0.0 and below, contains a regular expression denial-of-service flaw classified as uncontrolled resource consumption. An attacker can cause a roughly two-second slowdown by supplying input of around 50,000 characters, and because Node's default maximum header size is 80KB unless compiled otherwise, the practical impact is relatively low.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:42Z"},"euvd":{"id":"EUVD-2018-0386","exploited":false,"provenance":"source"}}