VULNERABILITY INTELLIGENCE

CVE-2021-39131

CVSS score7.5 HIGH
EPSS probability1.89%
CISA KEVNot currently listed
Published2021-08-17
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

Weakness classification

  • security-advisories@github.com: CWE-241
  • nvd@nist.gov: CWE-755

Primary references