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)`.
Published: 2021-08-17
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-1506 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)`.
Github GHSA Github GHSA GHSA-27wq-qx3q-fxm9 Improper Handling of Unexpected Data Type in ced
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-04T01:58:17.881Z

Reserved: 2021-08-16T00:00:00.000Z

Link: CVE-2021-39131

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-08-17T23:15:07.507

Modified: 2024-11-21T06:18:39.077

Link: CVE-2021-39131

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses