# CVE-2022-46648: ruby-git has potential remote code execution vulnerability

Source: https://junglewise.ai/threats/cve-2022-46648-ruby-git-has-potential-remote-code-execution-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-01-09  
License: CC BY 4.0 with a link back

CVE-2022-46648 · Severity: low · CVSS 3.1 · Published 2023-01-09

ruby-git has potential remote code execution vulnerability

Technologies: [git (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-git). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2022-46648 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-46648 being exploited in the wild.

**How severe is CVE-2022-46648?** Low severity, with a CVSS score of 3.1, published 9 January 2023.

**Which products and versions are affected?** git (RubyGems) ECOSYSTEM:introduced=1.2.0,fixed=1.13.0.

**Is there a fix for CVE-2022-46648?** Yes. git (RubyGems): upgrade to 1.13.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-46648?** Check whether you run git (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- git (RubyGems): upgrade to 1.13.0 or later

  ```sh
  bundle update git
  ```


## Affected products

- git (RubyGems) ECOSYSTEM:introduced=1.2.0,fixed=1.13.0

## Identifiers

- CVE-2022-46648
- GHSA-pfpr-3463-c6jh

## Related threats

- [Code injection in ruby git](https://junglewise.ai/threats/cve-2022-47318-code-injection-in-ruby-git)
- [Command injection in ruby-git](https://junglewise.ai/threats/cve-2022-25648-command-injection-in-ruby-git)
