CWE
88
Advisory Published
CVE Published
Updated

CVE-2018-17456

First published: Fri Oct 05 2018(Updated: )

A flaw was found in git which allows an attacker to execute arbitrary code by crafting a malicious .gitmodules file in a project cloned with --recurse-submodules. References: <a href="https://bugzilla.novell.com/show_bug.cgi?id=1110949">https://bugzilla.novell.com/show_bug.cgi?id=1110949</a> <a href="https://groups.google.com/forum/#!topic/git-packagers/fNLXf6LQC08">https://groups.google.com/forum/#!topic/git-packagers/fNLXf6LQC08</a>

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
>=2.14.0<2.14.5
>=2.15.0<2.15.3
>=2.16.0<2.16.5
>=2.17.0<2.17.2
>=2.18.0<2.18.1
>=2.19.0<2.19.1
=3.3
=6.0
=6.7
=7.0
=7.3
=7.4
=7.5
=7.6
=7.0
=7.0
=7.6
=7.6
=7.6
=7.0
=14.04
=16.04
=18.04
=9.0
Git-scm Git>=2.14.0<2.14.5
Git-scm Git>=2.15.0<2.15.3
Git-scm Git>=2.16.0<2.16.5
Git-scm Git>=2.17.0<2.17.2
Git-scm Git>=2.18.0<2.18.1
Git-scm Git>=2.19.0<2.19.1
Redhat Ansible Tower=3.3
Redhat Enterprise Linux=6.0
Redhat Enterprise Linux=6.7
Redhat Enterprise Linux=7.0
Redhat Enterprise Linux=7.3
Redhat Enterprise Linux=7.4
Redhat Enterprise Linux=7.5
Redhat Enterprise Linux=7.6
Redhat Enterprise Linux Desktop=7.0
Redhat Enterprise Linux Server=7.0
Redhat Enterprise Linux Server Aus=7.6
Redhat Enterprise Linux Server Eus=7.6
Redhat Enterprise Linux Server Tus=7.6
Redhat Enterprise Linux Workstation=7.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Debian Debian Linux=9.0
redhat/git<2.14.5
2.14.5
redhat/git<2.15.3
2.15.3
redhat/git<2.16.5
2.16.5
redhat/git<2.17.2
2.17.2
redhat/git<2.18.1
2.18.1
redhat/git<2.19.1
2.19.1
debian/git
1:2.20.1-2+deb10u3
1:2.20.1-2+deb10u8
1:2.30.2-1+deb11u2
1:2.39.2-1.1
1:2.43.0-1
ubuntu/git<1:2.19.1-1
1:2.19.1-1
ubuntu/git<1:2.7.4-0ubuntu1.5
1:2.7.4-0ubuntu1.5
ubuntu/git<1:2.17.1-1ubuntu0.3
1:2.17.1-1ubuntu0.3
ubuntu/git<1:1.9.1-1ubuntu0.9
1:1.9.1-1ubuntu0.9

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2018-17456?

    CVE-2018-17456 is a vulnerability in Git that allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.

  • What is the severity of CVE-2018-17456?

    The severity of CVE-2018-17456 is critical (9.8).

  • Which software versions are affected by CVE-2018-17456?

    Git versions before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 are affected by CVE-2018-17456.

  • How can I fix CVE-2018-17456?

    To fix CVE-2018-17456, you should update Git to version 2.14.5 or later.

  • Where can I find more information about CVE-2018-17456?

    You can find more information about CVE-2018-17456 at the following references: [http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html](http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html), [http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html](http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html), [http://www.securityfocus.com/bid/105523](http://www.securityfocus.com/bid/105523).

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