CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Git

CVE-2022-25648
Git vulnerability

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 products

Git, Extra Packages For Enterprise Linux, Fedora, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Git runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Git products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.