CVE-2017-16098Charset Project Charset
High 7.5 No auth needed
Follow: this CVE · Charset Project · Charset Project Charset We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Jun 7, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Charset.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | charset |
< 1.0.1 |
1.0.1 |
npm install charset@1.0.1 |
Per OSV / GitHub Advisories (GHSA-9cp3-fh5x-xfcj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| charset_project | charset | < 1.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- nodesecurity.io Third Party Advisory