Improper Handling of Unexpected Data Type in ced
Priority LOW 37CWE-241Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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)`.
Why it matters now
EPSS 0.01891 79th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed ced (sonicdoe): 1.0.0ced (npm): 1.0.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sonicdoe | ced | before 1.0.0 | 1.0.0 | Patch available | CNA |
| — | ced (npm) | before 1.0.0 | 1.0.0 | Patch available | GHSA-27wq-qx3q-fxm9 |
- ced Vendorsonicdoe Affected before 1.0.0 Fixed in 1.0.0 Patch available CNA
- ced (npm) Vendor— Affected before 1.0.0 Fixed in 1.0.0 Patch available GHSA-27wq-qx3q-fxm9
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:* | 0.1.0 | Vulnerable | Ced Project |
- cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:* Versions 0.1.0 Vulnerable ·Ced Project
Remediation
- Fix · CNA ced (sonicdoe) Fixed in 1.0.0
- Fix · GHSA-27wq-qx3q-fxm9 ced (npm) Fixed in 1.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-39131
- 2026-10-03 Alias added: GHSA-27wq-qx3q-fxm9
References
Advisory 2
Sources
- CVE-2021-39131 · CVE Program
- CVE-2021-39131 · NVD
- FIRST EPSS
- GHSA-27wq-qx3q-fxm9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences