{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-39131","published":"2021-08-17T23:15:07.507000Z","last_modified":"2026-06-17T04:03:07.663000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-241","CWE-755"],"cpes":[{"criteria":"cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*","part":"a","vendor":"ced_project","product":"ced","version":"0.1.0"}],"cpes_truncated":false,"vendors":["ced_project"],"products":["ced_project/ced"],"epss":{"score":0.01891,"percentile":0.80179,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-27wq-qx3q-fxm9","ecosystem":"npm","name":"ced","purl":"pkg:npm/ced","ranges":[{"introduced":"0","fixed":"1.0.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-39131/","html_en":"/en/cve/CVE-2021-39131/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-39131","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-39131"},"untrusted":{"vendor_name":"Ced Project","product_name":"Ced","desc_en":"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)`.","affected":[{"untrusted_vendor":"sonicdoe","untrusted_product":"ced","versions":[]}],"references":[{"url":"https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sonicdoe/ced/releases/tag/v1.0.0","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9","tags":["Exploit","Patch","Third Party Advisory"]}]}}