Resource exhaustion in Charset Project
CVE-2017-16098
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.016, 76.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Charset Project
- HackerOne Charset Node Module — versions <1.0.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, engn33r/awesome-redos-security, ossf-cve-benchmark/CVE-2017-16098). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- nodesecurity.io/advisories/524 (Third Party Advisory)
- github.com/node-modules/charset/issues/10 (Exploit, Third Party Advisory)