Skip to content
OpenAdvisories
High · 7.5 CVE-2017-16098 EUVD-2018-0386GHSA-9cp3-fh5x-xfcj

Regular Expression Denial of Service in charset

Published Jun 7, 2018 · Updated Sep 16, 2024 · Assigned by hackerone

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 products

VendorProductAffectedFixed
HackerOne charset node module <1.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm charset < 1.0.1 1.0.1 GHSA-9cp3-fh5x-xfcj

References