CVE-2021-39131 HIGH

CVE-2021-39131: Improper Handling of Unexpected Data Type in ced

Vendor Sonicdoe
Product ced
Weakness CWE-241
Published August 17, 2021
Last update August 4, 2024

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

August 17, 2021 CVE published
August 4, 2024 Record updated