{ "id": "CVE-2020-26222", "sourceIdentifier": "security-advisories@github.com", "published": "2020-11-13T16:15:18.277", "lastModified": "2020-12-03T15:53:32.843", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "Dependabot is a set of packages for automated dependency management for Ruby, JavaScript, Python, PHP, Elixir, Rust, Java, .NET, Elm and Go. In Dependabot-Core from version 0.119.0.beta1 before version 0.125.1, there is a remote code execution vulnerability in dependabot-common and dependabot-go_modules when a source branch name contains malicious injectable bash code. For example, if Dependabot is configured to use the following source branch name: \"/$({curl,127.0.0.1})\", Dependabot will make a HTTP request to the following URL: 127.0.0.1 when cloning the source repository. The fix was applied to version 0.125.1. As a workaround, one can escape the branch name prior to passing it to the Dependabot::Source class." }, { "lang": "es", "value": "Dependabot es un conjunto de paquetes para la administraci\u00f3n automatizada de dependencias para Ruby, JavaScript, Python, PHP, Elixir, Rust, Java, .NET, Elm y Go. En Dependabot-Core desde la versi\u00f3n 0.119.0.beta1 versiones anteriores a 0.125.1, se presenta una vulnerabilidad de ejecuci\u00f3n de c\u00f3digo remota en dependdabot-common y dependdabot-go_modules cuando el nombre de una rama de origen contiene c\u00f3digo bash inyectable malicioso. Por ejemplo, si Dependabot est\u00e1 configurado para usar el siguiente nombre de rama de origen: \"/$({curl,127.0.0.1})\", Dependabot realizar\u00e1 una petici\u00f3n HTTP a la siguiente URL: 127.0.0.1 cuando clona el repositorio de origen. La correcci\u00f3n fue aplicada en versi\u00f3n 0.125.1. Como soluci\u00f3n alternativa, se puede escapar el nombre de la rama antes de pasarlo a la clase Dependabot::Source" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH" }, "exploitabilityScore": 2.8, "impactScore": 5.9 }, { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE", "baseScore": 8.7, "baseSeverity": "HIGH" }, "exploitabilityScore": 2.3, "impactScore": 5.8 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "SINGLE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 6.5 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "security-advisories@github.com", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-74" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:dependabot_project:dependabot:*:*:*:*:*:*:*:*", "versionStartIncluding": "0.119.1", "versionEndExcluding": "0.125.1", "matchCriteriaId": "3524E223-0018-477C-ABCA-E828B7848CA4" }, { "vulnerable": true, "criteria": "cpe:2.3:a:dependabot_project:dependabot:0.119.0:-:*:*:*:*:*:*", "matchCriteriaId": "A0B441AF-623E-413B-B87F-EEA7053EBAD4" }, { "vulnerable": true, "criteria": "cpe:2.3:a:dependabot_project:dependabot:0.119.0:beta1:*:*:*:*:*:*", "matchCriteriaId": "1981811C-3319-4BFC-AEAD-853C5A46959D" } ] } ] } ], "references": [ { "url": "https://github.com/dependabot/dependabot-core/commit/e089116abbe284425b976f7920e502b8e83a61b5", "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/dependabot/dependabot-core/pull/2727", "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/dependabot/dependabot-core/security/advisories/GHSA-23f7-99jx-m54r", "source": "security-advisories@github.com", "tags": [ "Exploit", "Third Party Advisory" ] } ] }