{ "id": "CVE-2021-39131", "sourceIdentifier": "security-advisories@github.com", "published": "2021-08-17T23:15:07.507", "lastModified": "2021-08-27T14:21:49.100", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "ced detects character encoding using Google\u00e2\u20ac\u2122s 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\u00e2\u20ac\u2122s a `Buffer` using `Buffer.isBuffer(obj)`." }, { "lang": "es", "value": "ced detecta la codificaci\u00f3n de caracteres usando la biblioteca compact_enc_det de Google. En ced versi\u00f3n v0.1.0, pasar tipos de datos distintos a \"Buffer\" hace que el proceso Node.js se bloquee. El problema ha sido parcheado en ced versi\u00f3n v1.0.0. Como soluci\u00f3n, antes de pasar un argumento a ced, verifique que es un \"Buffer\" usando \"Buffer.isBuffer(obj)\"." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 3.6 }, { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 5.0 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 10.0, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-755" } ] }, { "source": "security-advisories@github.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-241" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*", "matchCriteriaId": "0136ACE5-0C6C-450B-A108-F0E93A9F4896" } ] } ] } ], "references": [ { "url": "https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3", "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/sonicdoe/ced/releases/tag/v1.0.0", "source": "security-advisories@github.com", "tags": [ "Release Notes", "Third Party Advisory" ] }, { "url": "https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9", "source": "security-advisories@github.com", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] } ] }