CVE-2021-39131

HIGH

Ced < 1.0.0 - Improper Exception Handling

Title source: rule

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

Scores

CVSS v3 7.5
EPSS 0.0045
EPSS Percentile 63.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-755 CWE-241
Status published

Affected Products (2)

ced_project/ced
npm/ced < 1.0.0npm

Timeline

Published Aug 17, 2021
Tracked Since Feb 18, 2026