CVE-2021-39131
17.08.2021, 23:15
ced detects character encoding using Googles 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 its a `Buffer` using `Buffer.isBuffer(obj)`.Enginsight
Vendor | Product | Version |
---|---|---|
ced_project | ced | 0.1.0 |
𝑥
= Vulnerable software versions
Common Weakness Enumeration
- CWE-241 - Improper Handling of Unexpected Data TypeThe software does not handle or incorrectly handles when a particular element is not the expected type, e.g. it expects a digit (0-9) but is provided with a letter (A-Z).
- CWE-755 - Improper Handling of Exceptional ConditionsThe software does not handle or incorrectly handles an exceptional condition.
References