{"id":"EUVD-2021-1506","enisaUuid":"e8404efb-8ca4-377d-a6de-c3eb75687558","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)`.","datePublished":"Aug 17, 2021, 7:55:09 PM","dateUpdated":"Aug 4, 2024, 1:58:17 AM","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9\nhttps://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3\nhttps://github.com/sonicdoe/ced/releases/tag/v1.0.0\n","aliases":"CVE-2021-39131\nGHSA-27wq-qx3q-fxm9\n","assigner":"GitHub_M","epss":1.89,"enisaIdProduct":[{"id":"fb106946-bb4a-3746-8244-8f557489c269","product":{"name":"ced","vendor":{"name":"sonicdoe"}},"product_version":"\u003c 1.0.0"}],"enisaIdVendor":[{"id":"1dcd41b6-51b1-344b-ac4c-eea3456d97a5","vendor":{"name":"sonicdoe"}}],"enisaIdVulnerability":[{"id":"111d1fd4-9bff-3fd8-bd10-490f4a897a2e","vulnerability":{"id":"GHSA-27wq-qx3q-fxm9","description":"Improper Handling of Unexpected Data Type in ced","datePublished":"Aug 23, 2021, 7:42:28 PM","dateUpdated":"Oct 21, 2021, 2:15:51 PM","baseScore":null,"references":"https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-39131\nhttps://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3\nhttps://github.com/sonicdoe/ced\nhttps://github.com/sonicdoe/ced/releases/tag/v1.0.0\n","enisa_id":"EUVD-2021-1506\n","aliases":"CVE-2021-39131\nGHSA-27wq-qx3q-fxm9\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"92d161d6-7fd8-3b88-afe9-f0f82900a713","vulnerability":{"id":"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)`.","datePublished":"Aug 17, 2021, 7:55:09 PM","dateUpdated":"Aug 4, 2024, 1:58:17 AM","status":"PUBLISHED","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9\nhttps://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3\nhttps://github.com/sonicdoe/ced/releases/tag/v1.0.0\n","enisa_id":"EUVD-2021-1506\n","assigner":"GitHub_M","epss":1.89,"dataProcessed":"Nov 23, 2026, 7:24:37 AM","vulnerabilityProduct":[{"id":"d2e6aa18-d19f-3a9d-a6a6-8f6d3170f452","product":{"name":"ced","vendor":{"name":"sonicdoe"}},"product_version":"\u003c 1.0.0"}],"vulnerabilityVendor":[{"id":"bf374ec0-1f26-3f51-8aff-9679d7778a50","vendor":{"name":"sonicdoe"}}]}}],"enisaIdAdvisory":[]}