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.
The product does not properly control the allocation and maintenance of a limited resource.
Link | Tags |
---|---|
https://nodesecurity.io/advisories/524 | third party advisory |
https://github.com/node-modules/charset/issues/10 | third party advisory exploit |