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)`.
References
Link | Resource |
---|---|
https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3 | Patch Third Party Advisory |
https://github.com/sonicdoe/ced/releases/tag/v1.0.0 | Release Notes Third Party Advisory |
https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9 | Exploit Patch Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: GitHub_M
Published: 2021-08-17T19:55:09
Updated: 2021-08-17T19:55:09
Reserved: 2021-08-16T00:00:00
Link: CVE-2021-39131
JSON object: View
NVD Information
Status : Modified
Published: 2021-08-17T23:15:07.507
Modified: 2023-11-07T03:37:32.110
Link: CVE-2021-39131
JSON object: View
Redhat Information
No data.