CVE-2022-25648

high
Published 2022-04-20 ยท Modified 2026-03-13
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.0

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
rockylinux rocky8fixed
debian debianbookwormfixed1.13.1-1
debian debianbullseyefixed1.7.0-1+deb11u1
debian debianforkyfixed1.13.1-1
debian debiansidfixed1.13.1-1
debian debiantrixiefixed1.13.1-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsgit<>= 1.11.0>= 1.11.0
ruby RubyGemsgit<1.11.01.11.0

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.