USN-4334-1: Git vulnerability

Published Apr 21, 2020
·
Updated

Carlo Arenas discovered that Git incorrectly handled certain URLs containing newlines, empty hosts, or lacking a scheme. A remote attacker could possibly use this issue to trick Git into returning credential information for a wrong host.

Affected Software

6 affected componentsFixes available
All of the following
ubuntu/git<1:2.20.1-2ubuntu1.19.10.3
1:2.20.1-2ubuntu1.19.10.3
Ubuntu Ubuntu=19.10
All of the following
ubuntu/git<1:2.17.1-1ubuntu0.7
1:2.17.1-1ubuntu0.7
Ubuntu Ubuntu=18.04
All of the following
ubuntu/git<1:2.7.4-0ubuntu1.9
1:2.7.4-0ubuntu1.9
Ubuntu Ubuntu=16.04

Event History

Apr 21, 2020
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this Git vulnerability?

The vulnerability ID for this Git vulnerability is USN-4334-1.

2

What is the impact of this vulnerability?

This vulnerability could allow a remote attacker to trick Git into returning credential information for a wrong host.

3

Which versions of Git are affected by this vulnerability?

The versions affected by this vulnerability are 2.20.1-2ubuntu1.19.10.3, 2.17.1-1ubuntu0.7, and 2.7.4-0ubuntu1.9.

4

How can I fix this vulnerability?

To fix this vulnerability, update Git to version 2.20.1-2ubuntu1.19.10.3, 2.17.1-1ubuntu0.7, or 2.7.4-0ubuntu1.9 depending on your Ubuntu version.

5

Where can I find more information about this vulnerability?

You can find more information about this vulnerability on the Ubuntu Security Notice USN-4334-1 page.

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