Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Git | Git | < 1.11.0 |
| Fedoraproject | Extra Packages For Enterprise Linux | 8.0 |
| Fedoraproject | Fedora | 34 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://github.com/ruby-git/ruby-git/pull/569Issue TrackingPatch
- https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0Release Notes
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://snyk.io/vuln/SNYK-RUBY-GIT-2421270ExploitPatchThird Party Advisory
- https://github.com/ruby-git/ruby-git/pull/569Issue TrackingPatch
- https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0Release Notes
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://snyk.io/vuln/SNYK-RUBY-GIT-2421270ExploitPatchThird Party Advisory
FAQ
What is CVE-2022-25648?
CVE-2022-25648 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 f...
How severe is CVE-2022-25648?
CVE-2022-25648 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-25648?
Check the references section above for vendor advisories and patch information. Affected products include: Git Git, Fedoraproject Extra Packages For Enterprise Linux, Fedoraproject Fedora, Debian Debian Linux.