CVE-2021-39176
Detect-character-encoding Project Detect-character-encoding vulnerability
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.
Affected products
Detect-character-encoding. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Detect-character-encoding Project Detect-character-encoding runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f · Patch
- github.com/sonicdoe/detect-character-encoding/pull/6 · Patch
- github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-5rwj-j5m3-3chj · Exploit
- github.com/sonicdoe/detect-character-encoding/releases/tag/v0.3.1 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-39176
- cve.org/CVERecord?id=CVE-2021-39176
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.