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.
References
Link | Resource |
---|---|
https://nodesecurity.io/advisories/524 | Third Party Advisory |
https://github.com/node-modules/charset/issues/10 | Exploit Third Party Advisory |
Configurations
Information
Published : 2018-06-06 19:29
Updated : 2019-10-09 16:24
NVD link : CVE-2017-16098
Mitre link : CVE-2017-16098
JSON object : View
CWE
CWE-400
Uncontrolled Resource Consumption
Products Affected
charset_project
- charset