Skip to content

CVE-2021-39176 Missing Release of Memory after Effective Lifetime in detect-character-encoding

HighCVSS 7.5 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
detect-character-encoding project detect-character-encoding < 0.3.1 0.3.1 Fixed
npm detect-character-encoding(npm) < 0.3.1 0.3.1 Fixed
sonicdoe detect-character-encoding = < 0.3.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm detect-character-encoding(npm) < 0.3.1 0.3.1
detect-character-encoding project detect-character-encoding < 0.3.1 0.3.1
sonicdoe detect-character-encoding = < 0.3.1 No fix listed

References