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)`.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
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 |
GHSA-27wq-qx3q-fxm9 | Improper Handling of Unexpected Data Type in ced |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2024-08-04T01:58:17.881Z
Reserved: 2021-08-16T00:00:00
Link: CVE-2021-39131
No data.
Status : Modified
Published: 2021-08-17T23:15:07.507
Modified: 2024-11-21T06:18:39.077
Link: CVE-2021-39131
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA