Vulnerability · Published Jan 17, 2023 · Assigned by jpcert
CVE-2022-46648
High 8.0
In plain English
A high-severity code injection in ruby-git from ruby-git. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.0High
Exploit odds (30 days)1.4%top 27.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ruby-git | 1.13.1-1 | DEBIAN-CVE-2022-46648 |
| Debian:13 | ruby-git | 1.13.1-1 | DEBIAN-CVE-2022-46648 |
| Debian:14 | ruby-git | 1.13.1-1 | DEBIAN-CVE-2022-46648 |
| RubyGems | git | 1.13.0 | GHSA-pfpr-3463-c6jh |
| Ubuntu:22.04:LTS | ruby-git | no fix listed | UBUNTU-CVE-2022-46648 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H