CVE-2020-26222 Remote code execution in dependabot-core
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- PHP
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dependabot project dependabot | = 0.119.0; = 0.119.0-beta1; >= 0.119.1, < 0.125.1 | 0.125.1 | Fixed |
| rubygems dependabot-common(RubyGems) | = 0.119.0; = 0.119.0.beta1; = 0.119.1; = 0.119.2 +27 more | 0.125.1 | Fixed |
| rubygems dependabot-omnibus(RubyGems) | = 0.119.0; = 0.119.0.beta1; = 0.119.1; = 0.119.2 +27 more | 0.125.1 | Fixed |
| dependabot-core | = < 0.125.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems dependabot-omnibus(RubyGems) | >= 0.119.0.beta1, < 0.125.1 | 0.125.1 |
| rubygems dependabot-common(RubyGems) | >= 0.119.0.beta1, < 0.125.1 | 0.125.1 |
| rubygems dependabot-omnibus(RubyGems) | = 0.119.0 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.119.0.beta1 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.119.1 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.119.2 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.119.3 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.119.4 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.119.5 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.119.6 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.120.0 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.120.1 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.120.2 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.120.3 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.120.4 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.120.5 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.121.0 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.121.1 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.122.0 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.122.1 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.123.0 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.123.1 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.124.0 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.124.1 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.124.2 | No fix listed |
Show 41 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems dependabot-omnibus(RubyGems) | = 0.124.3 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.124.4 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.124.5 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.124.6 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.124.7 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.124.8 | No fix listed |
| rubygems dependabot-omnibus(RubyGems) | = 0.125.0 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.119.0 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.119.0.beta1 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.119.1 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.119.2 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.119.3 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.119.4 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.119.5 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.119.6 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.120.0 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.120.1 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.120.2 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.120.3 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.120.4 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.120.5 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.121.0 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.121.1 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.122.0 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.122.1 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.123.0 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.123.1 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.124.0 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.124.1 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.124.2 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.124.3 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.124.4 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.124.5 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.124.6 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.124.7 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.124.8 | No fix listed |
| rubygems dependabot-common(RubyGems) | = 0.125.0 | No fix listed |
| dependabot project dependabot | >= 0.119.1, < 0.125.1 | 0.125.1 |
| dependabot project dependabot | = 0.119.0 | No fix listed |
| dependabot project dependabot | = 0.119.0-beta1 | No fix listed |
| dependabot-core | = < 0.125.1 | No fix listed |
References
- github.com exploit third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- rubygems.org
- rubygems.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit
- github.com exploit
- github.com
- github.com product