CVE-2021-39131

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

Configuration 1 (hide)

cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*

History

07 Nov 2023, 03:37

Type Values Removed Values Added
Summary 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)`. 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)`.

27 Aug 2021, 14:21

Type Values Removed Values Added
References (MISC) https://github.com/sonicdoe/ced/releases/tag/v1.0.0 - (MISC) https://github.com/sonicdoe/ced/releases/tag/v1.0.0 - Release Notes, Third Party Advisory
References (CONFIRM) https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9 - (CONFIRM) https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9 - Exploit, Patch, Third Party Advisory
References (MISC) https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3 - (MISC) https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3 - Patch, Third Party Advisory
CWE CWE-755
CPE cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5

17 Aug 2021, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-08-17 23:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-39131

Mitre link : CVE-2021-39131

CVE.ORG link : CVE-2021-39131


JSON object : View

Products Affected

ced_project

  • ced
CWE
CWE-755

Improper Handling of Exceptional Conditions

CWE-241

Improper Handling of Unexpected Data Type