CVE-2022-25648

NameCVE-2022-25648
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3303-1
Debian Bugs1009926

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-git (PTS)bullseye1.7.0-1vulnerable
trixie, sid, bookworm1.13.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-gitsourcebuster1.2.8-1+deb10u1DLA-3303-1
ruby-gitsource(unstable)1.13.1-11009926

Notes

[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

Search for package or bug name: Reporting problems