CVE-2021-39131
Summary
| CVE | CVE-2021-39131 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-08-17 23:15:00 UTC |
| Updated | 2023-11-07 03:37:00 UTC |
| 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)`. |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|
| Application |
Ced Project |
Ced |
0.1.0 |
All |
All |
All |
References
| Reference | Source | Link | Tags |
|---|
| Release v1.0.0 · sonicdoe/ced · GitHub |
MISC |
github.com |
|
| Throw TypeError if argument is not a buffer · sonicdoe/ced@a4d9f10 · GitHub |
MISC |
github.com |
|
| Improper Handling of Unexpected Data Type in ced · Advisory · sonicdoe/ced · GitHub |
CONFIRM |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 980383 Nodejs (npm) Security Update for ced (GHSA-27wq-qx3q-fxm9)