CVE-2022-24433: Command Injection

Published Mar 11, 2022
·
Updated

The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.

Affected Software

1 affected component
Simple-git Project Simple-git Node.js<3.3.0

Event History

Mar 11, 2022
CVE Published
via MITRE·04:15 PM
Data Sourced
via MITRE·04:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2022-24433?

CVE-2022-24433 is a vulnerability in the package simple-git before version 3.3.0 that allows for command injection via argument injection.

2

What is the severity of CVE-2022-24433?

The severity of CVE-2022-24433 is critical with a CVSS score of 9.8.

3

How does CVE-2022-24433 affect simple-git?

CVE-2022-24433 affects versions of simple-git up to and excluding 3.3.0.

4

How can I fix CVE-2022-24433?

To fix CVE-2022-24433, make sure to update the simple-git package to version 3.3.0 or higher.

5

What is the Common Weakness Enumeration (CWE) ID for CVE-2022-24433?

The CWE IDs associated with CVE-2022-24433 are CWE-77 and CWE-88.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203