HIGH8.0
GHSA-pphf-gfrm-v32r
Code injection in ruby git
Quick fix
GHSA-pphf-gfrm-v32r — git: upgrade to the fixed version with the command below.
bundle update gitDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-47318[ADVISORY]
- https://github.com/ruby-git/ruby-git/pull/602[WEB]
- https://github.com/ruby-git/ruby-git[PACKAGE]
- https://jvn.jp/en/jp/JVN16765254/index.html[WEB]
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K[WEB]