CVE-2022-46648
HIGH 8.0CVSS 3.1ruby-git has potential remote code execution vulnerability
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.
- Published
- 17 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- vultures@jpcert.or.jp
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-pfpr-3463-c6jh
- Sources
- NVDJSONOSV GHSA-pfpr-3463-c6jhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-git_project | ruby-gitcpe:2.3:a:ruby-git_project:ruby-git:*:*:*:*:*:*:*:* |
< 1.13.0 | 1.13.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | RubyGems | git | >= 1.2.0, < 1.13.0 | 1.13.0 |
References
- https://github.com/ruby-git/ruby-git · Product, Third Party Advisory, PACKAGE
- https://github.com/ruby-git/ruby-git/pull/602 · Patch, Third Party Advisory, WEB
- https://jvn.jp/en/jp/JVN16765254/index.html · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-46648 · ADVISORY
- https://github.com/ruby-git/ruby-git/releases/tag/v1.13.0 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/git/CVE-2022-46648.yml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 17 Jan 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Jan 2023)