8.8high
Code injection in ruby git
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.48% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jpcert
- Also known as
- GHSA-pphf-gfrm-v32r
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-46648.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ruby-git ruby-git | versions prior to v1.13.0 | CVE List |
| git (RubyGems) | before 1.13.0 | GitHub Advisory Database |
| ruby-git_project ruby-git | before 1.13.0 | NVD |
| debian debian_linux | 10.0 | NVD |
| fedoraproject fedora | 37 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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-46648.
NVD (es)
Las versiones de ruby-git anteriores a v1.13.0 permiten a un atacante remoto autenticado ejecutar un código Ruby arbitrario haciendo que un usuario cargue en el producto un repositorio que contiene un nombre de archivo especialmente manipulado. Esta vulnerabilidad es diferente de CVE-2022-46648.
References
| https://github.com/ruby-git/ruby-git | package, product, third-party-advisory | |
| 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.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K/ | vendor-advisory | |
| 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-47318 | advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-47318 changed 2025-04-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pphf-gfrm-v32r changed 2024-02-19 | CC-BY-4.0 |
| NVD | CVE-2022-47318 changed 2026-06-17 | Public domain |