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)`.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2021-08-17T19:55:09

Updated: 2024-08-04T01:58:17.881Z

Reserved: 2021-08-16T00:00:00

Link: CVE-2021-39131

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-08-17T23:15:07.507

Modified: 2024-11-21T06:18:39.077

Link: CVE-2021-39131

cve-icon Redhat

No data.