Advisory Published
Updated

REDHAT-BUG-2335888

First published: Mon Jan 06 2025(Updated: )

go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries. This vulnerability is fixed in 5.13.0.

Affected SoftwareAffected VersionHow to fix
go-git<5.13.0

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 REDHAT-BUG-2335888?

    The severity of REDHAT-BUG-2335888 is considered critical due to the potential for arbitrary command execution.

  • How do I fix REDHAT-BUG-2335888?

    To fix REDHAT-BUG-2335888, upgrade to go-git version 5.13.0 or later.

  • What versions of go-git are affected by REDHAT-BUG-2335888?

    go-git versions prior to 5.13.0 are affected by REDHAT-BUG-2335888.

  • What type of vulnerability is REDHAT-BUG-2335888?

    REDHAT-BUG-2335888 is an argument injection vulnerability.

  • Who are the affected users of REDHAT-BUG-2335888?

    Users of go-git versions earlier than 5.13.0 are affected by REDHAT-BUG-2335888.

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