Vulnerabilities · 2022 · Git
CVE-2022-25648
Git vulnerability
The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, the remote parameter is passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.
Affected products
Git, Extra Packages For Enterprise Linux, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Git runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ruby-git/ruby-git/pull/569 · Patch
- snyk.io/vuln/SNYK-RUBY-GIT-2421270 · Exploit
- lists.debian.org/debian-lts-announce/2023/01/msg00043.html · Third Party Advisory
- github.com/ruby-git/ruby-git/releases/tag/v1.11.0
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X
- nvd.nist.gov/vuln/detail/CVE-2022-25648
- cve.org/CVERecord?id=CVE-2022-25648
More vulnerabilities in Git products
CVE-2024-52006CVE-2024-52005CVE-2024-50349CVE-2024-32002CVE-2020-5260CVE-2017-8386CVE-2010-3906CVE-2009-2108All 14
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.