2023-04-24 12:24:31 +02:00
{
"id" : "CVE-2021-39131" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2021-08-17T23:15:07.507" ,
2023-11-07 21:03:21 +00:00
"lastModified" : "2023-11-07T03:37:32.110" ,
"vulnStatus" : "Modified" ,
2024-07-14 02:06:08 +00:00
"cveTags" : [ ] ,
2023-04-24 12:24:31 +02:00
"descriptions" : [
{
"lang" : "en" ,
2023-11-07 21:03:21 +00:00
"value" : "ced detects character encoding using Google\u2019s 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\u2019s a `Buffer` using `Buffer.isBuffer(obj)`."
2023-04-24 12:24:31 +02:00
} ,
{
"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
} ,
{
2024-04-04 08:46:00 +00:00
"source" : "security-advisories@github.com" ,
2023-04-24 12:24:31 +02:00
"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"
}
]
} ,
{
2024-04-04 08:46:00 +00:00
"source" : "security-advisories@github.com" ,
2023-04-24 12:24:31 +02:00
"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"
]
}
]
}