CVE-2020-26222
CVSS V2 Medium 6.5
CVSS V3 High 8.8
Description
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.
Overview
- CVE ID
- CVE-2020-26222
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-11-13T16:15:18
- Last Modified Date
- 2020-12-03T15:53:32
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:dependabot_project:dependabot:*:*:*:*:*:*:*:* | 1 | OR | 0.119.1 | 0.125.1 |
cpe:2.3:a:dependabot_project:dependabot:0.119.0:-:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:dependabot_project:dependabot:0.119.0:beta1:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/dependabot/dependabot-core/security/advisories/GHSA-23f7-99jx-m54r | Exploit Third Party Advisory |
https://github.com/dependabot/dependabot-core/pull/2727 | Patch Third Party Advisory |
https://github.com/dependabot/dependabot-core/commit/e089116abbe284425b976f7920e502b8e83a61b5 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-26222 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26222 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:31:29 | Added to TrackCVE | |||
2022-12-05 16:48:31 | 2020-11-13T16:15Z | 2020-11-13T16:15:18 | CVE Published Date | updated |
2022-12-05 16:48:31 | 2020-12-03T15:53:32 | CVE Modified Date | updated | |
2022-12-05 16:48:31 | Analyzed | Vulnerability Status | updated |