GitHub Advisory Database
GHSA-pphf-gfrm-v32r
Code injection in ruby git
Details
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 versions |
|---|---|---|
| RubyGems | git | All versions before 1.13.0 (fixed in 1.13.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-47318
- https://github.com/ruby-git/ruby-git/pull/602
- https://github.com/ruby-git/ruby-git
- 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/[email protected]/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K