CWE
88 77
Advisory Published
Updated

CVE-2022-25648: Command Injection

First published: Wed Apr 13 2022(Updated: )

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.

Credit: report@snyk.io

Affected SoftwareAffected VersionHow to fix
redhat/rubygem-git<0:1.11.0-1.el8
0:1.11.0-1.el8
Git Git<1.11.0
Fedoraproject Extra Packages For Enterprise Linux=8.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Debian Debian Linux=10.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID for this flaw?

    The vulnerability ID for this flaw is CVE-2022-25648.

  • What is the severity level of CVE-2022-25648?

    The severity level of CVE-2022-25648 is critical with a severity value of 9.8.

  • How does this vulnerability occur?

    This vulnerability occurs due to command injection via the git argument injection in the ruby-git package.

  • What is the affected software?

    The affected software includes versions before 1.11.0 of the ruby-git package, versions before 0:1.11.0-1.el8 of the rubygem-git package, Git Git versions up to 1.11.0, Extra Packages For Enterprise Linux 8.0, Fedora versions 34, 35, and 36, and Debian Debian Linux 10.0.

  • How can I fix CVE-2022-25648?

    To fix CVE-2022-25648, update the ruby-git package to version 1.11.0 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203