High severity7.5NVD Advisory· Published Aug 17, 2021· Updated Jun 17, 2026
CVE-2021-39131
CVE-2021-39131
Description
ced detects character encoding using Google’s compact_enc_det library. In ced v0.1.0, passing data types other than Buffer causes the Node.js process to crash. The problem has been patched in ced v1.0.0. As a workaround, before passing an argument to ced, verify it’s a Buffer using Buffer.isBuffer(obj).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
cednpm | < 1.0.0 | 1.0.0 |
Affected products
3- cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*
Patches
Vulnerability mechanics
References
5- github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3nvdPatchThird Party AdvisoryWEB
- github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9nvdExploitPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-27wq-qx3q-fxm9ghsaADVISORY
- github.com/sonicdoe/ced/releases/tag/v1.0.0nvdRelease NotesThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-39131ghsaADVISORY
News mentions
0No linked articles in our index yet.