Vulnerability 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)`.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ced Project | Ced | 0.1.0 |
Related Weaknesses (CWE)
References
- https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3PatchThird Party Advisory
- https://github.com/sonicdoe/ced/releases/tag/v1.0.0Release NotesThird Party Advisory
- https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9ExploitPatchThird Party Advisory
- https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3PatchThird Party Advisory
- https://github.com/sonicdoe/ced/releases/tag/v1.0.0Release NotesThird Party Advisory
- https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9ExploitPatchThird Party Advisory
FAQ
What is CVE-2021-39131?
CVE-2021-39131 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2021-39131?
CVE-2021-39131 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-39131?
Check the references section above for vendor advisories and patch information. Affected products include: Ced Project Ced.