- 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.
- Source
- security-advisories@github.com
- NVD status
- Modified
CVSS 3.1
- Type
- Primary
- Base score
- 8.8
- Impact score
- 5.9
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 6.5
- Impact score
- 6.4
- Exploitability score
- 8
- Vector string
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- security-advisories@github.com
- CWE-74
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:dependabot_project:dependabot:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3524E223-0018-477C-ABCA-E828B7848CA4",
"versionEndExcluding": "0.125.1",
"versionStartIncluding": "0.119.1"
},
{
"criteria": "cpe:2.3:a:dependabot_project:dependabot:0.119.0:-:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A0B441AF-623E-413B-B87F-EEA7053EBAD4"
},
{
"criteria": "cpe:2.3:a:dependabot_project:dependabot:0.119.0:beta1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1981811C-3319-4BFC-AEAD-853C5A46959D"
}
],
"operator": "OR"
}
]
}
]