ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2022-25648

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12ruby-git
All versions before 1.13.1-1 (fixed in 1.13.1-1)
Debian:13ruby-git
All versions before 1.13.1-1 (fixed in 1.13.1-1)
Debian:14ruby-git
All versions before 1.13.1-1 (fixed in 1.13.1-1)

References