CVE-2022-25648
Summary
| CVE | CVE-2022-25648 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-04-19 17:15:00 UTC |
| Updated | 2023-11-07 03:44:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-88
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Application | Fedoraproject | Extra Packages For Enterprise Linux | 8.0 | All | All | All |
| Operating System | Fedoraproject | Fedora | 34 | All | All | All |
| Operating System | Fedoraproject | Fedora | 35 | All | All | All |
| Operating System | Fedoraproject | Fedora | 36 | All | All | All |
| Application | Git | Git | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Command Injection in git | CVE-2022-25648 | Snyk | MISC | snyk.io | |
| [SECURITY] Fedora 36 Update: rubygem-git-1.11.0-1.fc36 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| [SECURITY] Fedora 35 Update: rubygem-git-1.11.0-1.fc35 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| [SECURITY] Fedora 34 Update: rubygem-git-1.11.0-1.fc34 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| Address command line injection in Git::Lib#fetch by jcouball · Pull Request #569 · ruby-git/ruby-git · GitHub | MISC | github.com | |
| [SECURITY] Fedora 35 Update: rubygem-git-1.11.0-1.fc35 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| [SECURITY] Fedora 36 Update: rubygem-git-1.11.0-1.fc36 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| Release Release v1.11.0 · ruby-git/ruby-git · GitHub | MISC | github.com | |
| [SECURITY] Fedora 34 Update: rubygem-git-1.11.0-1.fc34 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| [SECURITY] [DLA 3303-1] ruby-git security update | MLIST | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Research Team
Legacy QID Mappings
- 181523 Debian Security Update for ruby-git (DLA 3303-1)
- 182408 Debian Security Update for ruby-git (CVE-2022-25648)
- 240925 Red Hat Update for Satellite 6.12 (RHSA-2022:8506)
- 282775 Fedora Security Update for rubygem (FEDORA-2022-353e1cf8b6)
- 282776 Fedora Security Update for rubygem (FEDORA-2022-1aa40056fc)
- 282777 Fedora Security Update for rubygem (FEDORA-2022-f09e0d8b0e)
- 960485 Rocky Linux Security Update for Satellite (RLSA-2022:8506)