{ "id": "CVE-2021-23362", "sourceIdentifier": "report@snyk.io", "published": "2021-03-23T17:15:14.027", "lastModified": "2022-04-08T13:31:42.640", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity." }, { "lang": "es", "value": "El paquete hosted-git-info anterior a la versi\u00f3n 3.0.8 es vulnerable a la Denegaci\u00f3n de Servicio por Expresi\u00f3n Regular (ReDoS) a trav\u00e9s de la expresi\u00f3n regular shortcutMatch en la funci\u00f3n fromUrl en index.js. La expresi\u00f3n regular afectada muestra una complejidad de tiempo polin\u00f3mica en el peor de los casos" } ], "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:L", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW", "baseScore": 5.3, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 3.9, "impactScore": 1.4 }, { "source": "report@snyk.io", "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:L", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW", "baseScore": 5.3, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 3.9, "impactScore": 1.4 } ], "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": "NVD-CWE-Other" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:npmjs:hosted-git-info:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.0.0", "versionEndExcluding": "2.8.9", "matchCriteriaId": "022F4E7E-F168-4658-AE21-A254CB3B4E04" }, { "vulnerable": true, "criteria": "cpe:2.3:a:npmjs:hosted-git-info:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.0.0", "versionEndExcluding": "3.0.8", "matchCriteriaId": "55697D47-8531-4FBD-AEF5-6E9C0CDF6A83" } ] } ] }, { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.0.1.1", "matchCriteriaId": "B0F46497-4AB0-49A7-9453-CC26837BF253" } ] } ] } ], "references": [ { "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/npm/hosted-git-info/commit/29adfe5ef789784c861b2cdeb15051ec2ba651a7", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/npm/hosted-git-info/commit/8d4b3697d79bcd89cdb36d1db165e3696c783a01", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/npm/hosted-git-info/commit/bede0dc38e1785e732bf0a48ba6f81a4a908eba3", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/npm/hosted-git-info/commits/v2", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1088356", "source": "report@snyk.io", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JS-HOSTEDGITINFO-1088355", "source": "report@snyk.io", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] } ] }