USN-6678-1: libgit2 vulnerabilities

Published Mar 5, 2024
·
Updated

It was discovered that libgit2 mishandled equivalent filenames on NTFS partitions. If a user or automated system were tricked into cloning a specially crafted repository, an attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2020-12278, CVE-2020-12279) It was discovered that libgit2 did not perform certificate checking by default. An attacker could possibly use this issue to perform a machine-in-the-middle attack. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2023-22742) It was discovered that libgit2 could be made to run into an infinite loop. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 23.10. (CVE-2024-24575) It was discovered that libgit2 did not properly manage memory. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2024-24577)

Affected Software

10 affected componentsFixes available
All of the following
ubuntu/libgit2-1.5<1.5.1+ds-1ubuntu1.1
1.5.1+ds-1ubuntu1.1
Ubuntu Ubuntu=23.10
All of the following
ubuntu/libgit2-1.1<1.1.0+dfsg.1-4.1ubuntu0.1
1.1.0+dfsg.1-4.1ubuntu0.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libgit2-28<0.28.4+dfsg.1-2ubuntu0.1
0.28.4+dfsg.1-2ubuntu0.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libgit2-26<0.26.0+dfsg.1-1.1ubuntu0.2+esm1
0.26.0+dfsg.1-1.1ubuntu0.2+esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libgit2-24<0.24.1-2ubuntu0.2+esm2
0.24.1-2ubuntu0.2+esm2
Ubuntu Ubuntu=16.04

Event History

Mar 5, 2024
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of USN-6678-1?

USN-6678-1 has been classified as a potentially serious vulnerability due to its capability to execute arbitrary code.

2

How do I fix USN-6678-1?

To fix USN-6678-1, upgrade to the recommended versions of libgit2-1.5, libgit2-1.1, libgit2-28, libgit2-26, or libgit2-24 based on your Ubuntu version.

3

Which Ubuntu versions are affected by USN-6678-1?

USN-6678-1 affects Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 23.10.

4

What is the impact of USN-6678-1?

The impact of USN-6678-1 is the potential execution of arbitrary code if a user clones a specially crafted repository.

5

Is there a workaround for USN-6678-1?

There is no official workaround for USN-6678-1, making it essential to apply the available security updates.

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