Moderate severity vulnerability that affects charset

2018-08-09T20:55:46
ID GHSA-9CP3-FH5X-XFCJ
Type github
Reporter GitHub Advisory Database
Modified 2019-07-03T21:02:02

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.