Name | CVE-2022-25648 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3303-1, ELA-784-1 |
Debian Bugs | 1009926 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-git (PTS) | jessie | 1.2.8-1 | vulnerable |
stretch (lts), stretch | 1.2.8-1+deb9u1 | fixed | |
buster (security), buster, buster (lts) | 1.2.8-1+deb10u1 | fixed | |
bullseye | 1.7.0-1 | vulnerable | |
sid, trixie, bookworm | 1.13.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-git | source | jessie | (unfixed) | end-of-life | ||
ruby-git | source | stretch | 1.2.8-1+deb9u1 | ELA-784-1 | ||
ruby-git | source | buster | 1.2.8-1+deb10u1 | DLA-3303-1 | ||
ruby-git | source | (unstable) | 1.13.1-1 | 1009926 |
[bullseye] - ruby-git <no-dsa> (Minor issue)
https://github.com/ruby-git/ruby-git/pull/569
Fixed by: https://github.com/ruby-git/ruby-git/commit/291ca0946bec7164b90ad5c572ac147f512c7159 (v1.11.0)
https://security.snyk.io/vuln/SNYK-RUBY-GIT-2421270