8.8
CWE
20
Advisory Published
Advisory Published
Updated

CVE-2017-17831: Input Validation

First published: Thu Dec 21 2017(Updated: )

GitHub Git LFS before 2.1.1 allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, located on a "url =" line in a .lfsconfig file within a repository.

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

Affected SoftwareAffected VersionHow to fix
go/github.com/git-lfs/git-lfs<2.1.1-0.20170519163204-f913f5f9c7c6
2.1.1-0.20170519163204-f913f5f9c7c6
Git Large File Storage<2.1.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 severity of CVE-2017-17831?

    CVE-2017-17831 is classified as a high-severity vulnerability, allowing for remote command execution.

  • How do I fix CVE-2017-17831?

    To fix CVE-2017-17831, upgrade GitHub Git LFS to version 2.1.1 or later.

  • What systems are affected by CVE-2017-17831?

    CVE-2017-17831 affects GitHub Git LFS versions prior to 2.1.1.

  • Can CVE-2017-17831 be exploited remotely?

    Yes, CVE-2017-17831 can be exploited remotely through malicious SSH URLs in configuration files.

  • What are the consequences of CVE-2017-17831 exploitation?

    Exploitation of CVE-2017-17831 can lead to the execution of arbitrary commands on the affected system.

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