Skip to main content
← All vulnerabilities
CVE-2017-16098GHSA-9CP3-FH5X-XFCJ

charset 1.0.0 and below are vulnerable to regular expression denial of service.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.0, 1.0.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • HackerOne charset node module

    fixed in 1.0.0

  • charsetnpm

    fixed in 1.0.1

References 2

nodesecurity.io

GitHub · node-modules/charset