CVE-2022-46648 ruby-git has potential remote code execution vulnerability
HighCVSS 8.0
EPSS 1.5%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
ruby-git versions prior to v1.13.0 allows a remote authenticated attacker to execute an arbitrary ruby code by having a user to load a repository containing a specially crafted filename to the product. This vulnerability is different from CVE-2022-47318.
Upgrade path
11 packages: 5 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/ruby-git(Ubuntu 16.04) | = 1.2.8-1; All versions | No fix listed | No fix yet |
| ubuntu/ruby-git(Ubuntu 18.04) | = 1.2.8-1; All versions | No fix listed | No fix yet |
| ubuntu/ruby-git(Ubuntu 20.04) | = 1.2.8-1; = 1.6.0+0-1; All versions | No fix listed | No fix yet |
| ubuntu/ruby-git(Ubuntu 22.04) | = 1.7.0-1; = 1.9.1-1; All versions | No fix listed | No fix yet |
| debian/ruby-git(Debian 12) | < 1.13.1-1 | 1.13.1-1 | Fixed |
| debian/ruby-git(Debian 13) | < 1.13.1-1 | 1.13.1-1 | Fixed |
| debian/ruby-git(Debian 14) | < 1.13.1-1 | 1.13.1-1 | Fixed |
| ruby-git project ruby-git | < 1.13.0 | 1.13.0 | Fixed |
| rubygems git(RubyGems) | = 1.2.0; = 1.2.1; = 1.2.2; = 1.2.3 +23 more | 1.13.0 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
| ruby-git | = versions prior to v1.13.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems git(RubyGems) | >= 1.2.0, < 1.13.0 | 1.13.0 |
| rubygems git(RubyGems) | = 1.10.0 | No fix listed |
| rubygems git(RubyGems) | = 1.10.1 | No fix listed |
| rubygems git(RubyGems) | = 1.10.2 | No fix listed |
| rubygems git(RubyGems) | = 1.11.0 | No fix listed |
| rubygems git(RubyGems) | = 1.12.0 | No fix listed |
| rubygems git(RubyGems) | = 1.2.0 | No fix listed |
| rubygems git(RubyGems) | = 1.2.1 | No fix listed |
| rubygems git(RubyGems) | = 1.2.2 | No fix listed |
| rubygems git(RubyGems) | = 1.2.3 | No fix listed |
| rubygems git(RubyGems) | = 1.2.4 | No fix listed |
| rubygems git(RubyGems) | = 1.2.5 | No fix listed |
| rubygems git(RubyGems) | = 1.2.6 | No fix listed |
| rubygems git(RubyGems) | = 1.2.7 | No fix listed |
| rubygems git(RubyGems) | = 1.2.8 | No fix listed |
| rubygems git(RubyGems) | = 1.2.9 | No fix listed |
| rubygems git(RubyGems) | = 1.2.9.1 | No fix listed |
| rubygems git(RubyGems) | = 1.3.0 | No fix listed |
| rubygems git(RubyGems) | = 1.4.0 | No fix listed |
| rubygems git(RubyGems) | = 1.5.0 | No fix listed |
| rubygems git(RubyGems) | = 1.6.0 | No fix listed |
| rubygems git(RubyGems) | = 1.6.0.pre1 | No fix listed |
| rubygems git(RubyGems) | = 1.7.0 | No fix listed |
| rubygems git(RubyGems) | = 1.8.0 | No fix listed |
| rubygems git(RubyGems) | = 1.8.1 | No fix listed |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems git(RubyGems) | = 1.9.0 | No fix listed |
| rubygems git(RubyGems) | = 1.9.1 | No fix listed |
| ruby-git | = versions prior to v1.13.0 | No fix listed |
| ubuntu/ruby-git(Ubuntu:22.04) | All versions | No fix listed |
| ruby-git project ruby-git | < 1.13.0 | 1.13.0 |
| debian linux | = 10.0 | No fix listed |
| debian/ruby-git(Debian:12) | < 1.13.1-1 | 1.13.1-1 |
| debian/ruby-git(Debian:14) | < 1.13.1-1 | 1.13.1-1 |
| debian/ruby-git(Debian:13) | < 1.13.1-1 | 1.13.1-1 |
| ubuntu/ruby-git(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/ruby-git(Ubuntu:16.04) | = 1.2.8-1 | No fix listed |
| ubuntu/ruby-git(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/ruby-git(Ubuntu:18.04) | = 1.2.8-1 | No fix listed |
| ubuntu/ruby-git(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/ruby-git(Ubuntu:20.04) | = 1.2.8-1 | No fix listed |
| ubuntu/ruby-git(Ubuntu:20.04) | = 1.6.0+0-1 | No fix listed |
| ubuntu/ruby-git(Ubuntu:22.04) | = 1.7.0-1 | No fix listed |
| ubuntu/ruby-git(Ubuntu:22.04) | = 1.9.1-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking product third-party-advisory
- github.com
- github.com exploit
- jvn.jp issue-tracking third-party-advisory
- [debian-lts-announce] 20230130 [SECURITY] [DLA 3303-1] ruby-git security update mailing-list third-party-advisory
- Debian Security Tracker CVE-2022-46648 vendor-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking