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.
References (4)
Core 4
Core References
Exploit, Patch, Third Party Advisory x_refsource_confirm
https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-5rwj-j5m3-3chj
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/sonicdoe/detect-character-encoding/pull/6
Patch, Third Party Advisory x_refsource_misc
https://github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588
Third Party Advisory x_refsource_misc
https://github.com/sonicdoe/detect-character-encoding/releases/tag/v0.3.1
Scores
CVSS v3
7.5
EPSS
0.0183
EPSS Percentile
76.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-401
Status
published
Products (2)
detect-character-encoding_project/detect-character-encoding
< 0.3.1
npm/detect-character-encoding
0 - 0.3.1npm
Published
Aug 31, 2021
Tracked Since
Feb 18, 2026