Description
detect-character-encoding is a package for detecting character encoding using ICU. In detect-character-encoding v0.3.0 and earlier, allocated memory is not released. The problem has been patched in detect-character-encoding v0.3.1.
Remediation
References
https://github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588
https://github.com/sonicdoe/detect-character-encoding/pull/6
https://github.com/sonicdoe/detect-character-encoding/releases/tag/v0.3.1
https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-5rwj-j5m3-3chj
Related Vulnerabilities
CVE-2020-36649 Vulnerability in maven package org.webjars.npm:papaparse
CVE-2018-11775 Vulnerability in maven package org.apache.activemq:activemq-core
CVE-2021-21266 Vulnerability in maven package org.openhab.addons.bundles:org.openhab.binding.sonos
CVE-2020-7637 Vulnerability in maven package org.webjars.npm:class-transformer
CVE-2018-19797 Vulnerability in maven package org.webjars.npm:node-sass