CVEvulnerability
CVE-2017-16098
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-06-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-400
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.
Affected configurations
• charset project charset (< 1.0.1)
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://github.com/node-modules/charset/issues/10 Exploit, Third Party Advisory
- https://nodesecurity.io/advisories/524 Third Party Advisory
- https://github.com/node-modules/charset/issues/10 Exploit, Third Party Advisory
- https://nodesecurity.io/advisories/524 Third Party Advisory