CVE-2022-25648
ruby-git: package vulnerable to Command Injection via git argument injection
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Red Hat, Bitnami, Ruby Advisory DB.
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | git | 1.11.0 |
| Red Hat | tfm-rubygem-git | kein Fix angegeben |
| rubygems::GitHub Security Advisory RubyGems | git | 1.11.0 |
| rubygems::Ruby Advisory Database | git | >= 1.11.0 |
| debian 10 | ruby-git | 1.2.8-1+deb10u1 |
| debian 11 | ruby-git | 1.7.0-1+deb11u1 |
| debian 12 | ruby-git | 1.13.1-1 |
| debian 13 | ruby-git | 1.13.1-1 |
| debian 14 | ruby-git | 1.13.1-1 |
| echo | ruby-git | 1.13.1-1 |
Referenzen
- https://access.redhat.com/security/cve/CVE-2022-25648
- https://github.com/ruby-git/ruby-git
- https://github.com/ruby-git/ruby-git/commit/291ca0946bec7164b90ad5c572ac147f512c7159
- https://github.com/ruby-git/ruby-git/pull/569
- https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/git/CVE-2022-25648.yml
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ
Alle 16 Referenzen
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/
- https://nvd.nist.gov/vuln/detail/CVE-2022-25648
- https://snyk.io/vuln/SNYK-RUBY-GIT-2421270
- https://www.cve.org/CVERecord?id=CVE-2022-25648