high8.0
CVE-2022-47318
Code injection in ruby git
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | git | < 1.13.0 | 1.13.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ruby-Git Project | Ruby-Git | before 1.13.0 |
| Debian | Debian Linux | Version 10.0 |
| Fedoraproject | Fedora | Version 37 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ruby-git/ruby-git
- https://github.com/ruby-git/ruby-git/pull/602
- https://jvn.jp/en/jp/JVN16765254/index.html
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K/
- https://github.com/advisories/GHSA-pphf-gfrm-v32r
- https://nvd.nist.gov/vuln/detail/CVE-2022-47318
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K/