CVE-2021-39131

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
17/08/2021
Last modified:
07/11/2023

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*