CVE-2017-14867: OS Command Injection

Published Sep 26, 2017
·
Updated

Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.

Affected Software

23 affected componentsFixes available
debian/git
1:2.20.1-2+deb10u31:2.20.1-2+deb10u81:2.30.2-1+deb11u21:2.39.2-1.11:2.42.0-1
git-scm Git<=2.10.4
git-scm Git=2.11.0
git-scm Git=2.11.1
git-scm Git=2.11.2
git-scm Git=2.11.3
git-scm Git=2.12.0
git-scm Git=2.12.1
git-scm Git=2.12.2
git-scm Git=2.12.3
git-scm Git=2.12.4
git-scm Git=2.13.0
git-scm Git=2.13.1
git-scm Git=2.13.2
git-scm Git=2.13.3
git-scm Git=2.13.4
git-scm Git=2.13.5
git-scm Git=2.14.0
git-scm Git=2.14.1
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Microsoft azl3 git 2.45.2-1
Microsoft azl3 git 2.42.0-2

Event History

Sep 26, 2017
Data Sourced
11:21 AM
SeverityAffected Software
Sep 28, 2017
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Sep 4, 2025
Data Sourced
via Microsoft·02:28 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:28 AM
Affected Software
Updated
via Microsoft·02:28 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-14867?

CVE-2017-14867 has a high severity rating due to the potential for arbitrary OS command execution.

2

How do I fix CVE-2017-14867?

To fix CVE-2017-14867, upgrade Git to version 2.10.5 or later.

3

What versions of Git are affected by CVE-2017-14867?

CVE-2017-14867 affects Git versions before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2.

4

Can CVE-2017-14867 be exploited remotely?

Yes, CVE-2017-14867 can potentially be exploited remotely if an attacker has access to input the module name.

5

What should I do if I'm using an affected version of Git and cannot upgrade immediately for CVE-2017-14867?

If you cannot upgrade immediately, limit the use of vulnerable subcommands and monitor logs for unusual activity as a temporary measure.

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