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.
Remediation
References
https://github.com/node-modules/charset/issues/10
https://nodesecurity.io/advisories/524
Related Vulnerabilities
CVE-2021-33036 Vulnerability in maven package org.apache.hadoop:hadoop-yarn-server-common
CVE-2021-32643 Vulnerability in maven package org.http4s:http4s-core
CVE-2020-5258 Vulnerability in maven package org.webjars.npm:dojo
CVE-2023-26144 Vulnerability in npm package graphql
CVE-2022-45401 Vulnerability in maven package org.jenkinsci.plugins:associated-files