Vulnerability in Ced Project
CVE-2021-39131
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)`.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.019, 79.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ced Project — versions 0.1.0
- Sonicdoe Ced — versions < 1.0.0
Weakness classification (CWE)
References
- github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9 (Exploit, Patch, Third Party Advisory)
- github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3 (Patch, Third Party Advisory)
- github.com/sonicdoe/ced/releases/tag/v1.0.0 (Third Party Advisory, Release Notes)