CWE
78
Advisory Published
Advisory Published
Updated

CVE-2017-17458: OS Command Injection

First published: Thu Dec 07 2017(Updated: )

In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.

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

Affected SoftwareAffected VersionHow to fix
Mercurial Mercurial<4.4.1
Debian Debian Linux=7.0
Debian Debian Linux=8.0
pip/mercurial<4.4.1
4.4.1

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.

Frequently Asked Questions

  • What is the vulnerability ID for this vulnerability?

    The vulnerability ID for this vulnerability is CVE-2017-17458.

  • What is the severity rating of CVE-2017-17458?

    CVE-2017-17458 has a severity rating of 9.8 (critical).

  • How does CVE-2017-17458 affect Mercurial?

    CVE-2017-17458 affects Mercurial versions before 4.4.1.

  • What is the impact of CVE-2017-17458?

    CVE-2017-17458 allows a specially malformed repository to cause Git subrepositories to run arbitrary code.

  • How can I mitigate CVE-2017-17458?

    To mitigate CVE-2017-17458, update Mercurial to version 4.4.1 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