CVE-2021-39131
CVSS V2 Medium 5
CVSS V3 High 7.5
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)`.
Overview
- CVE ID
- CVE-2021-39131
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-08-17T23:15:07
- Last Modified Date
- 2021-08-27T14:21:49
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
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 |
https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-39131 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39131 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:55:49 | Added to TrackCVE | |||
2022-12-05 08:27:13 | 2021-08-17T23:15Z | 2021-08-17T23:15:07 | CVE Published Date | updated |
2022-12-05 08:27:13 | 2021-08-27T14:21:49 | CVE Modified Date | updated | |
2022-12-05 08:27:13 | Analyzed | Vulnerability Status | updated |