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.
Metrics
CVSS 3.0 7.5/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | charset node module | <1.0.0 |
References
- https://github.com/node-modules/charset/issues/10Exploit, Third Party Advisory
- https://nodesecurity.io/advisories/524Third Party Advisory
- https://github.com/node-modules/charset/issues/10Exploit, Third Party Advisory
- https://nodesecurity.io/advisories/524Third Party Advisory
Timeline
- Published
- Jun 7, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified