USN-6678-1

Type: Security
Severity: Medium
Published: 2024-03-05
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)

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) Update Instructions: Run `sudo pro fix USN-6678-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libgit2-28 - 0.28.4+dfsg.1-2ubuntu0.1 libgit2-dev - 0.28.4+dfsg.1-2ubuntu0.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T06:52:44.004Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T06:52:44.004Z UTC. Last updated 2025-11-26T08:15:56.641Z UTC.

Upstream Advisory

Affected Packages

  • libgit2-28 0.28.4+dfsg.1-2ubuntu0.1-0.28.4+dfsg.1-2ubuntu0.1

  • libgit2-dev 0.28.4+dfsg.1-2ubuntu0.1-0.28.4+dfsg.1-2ubuntu0.1

  • libgit2-fixtures 1.1.0+dfsg.1-4.1ubuntu0.1-1.1.0+dfsg.1-4.1ubuntu0.1

  • libgit2-1.1 1.1.0+dfsg.1-4.1ubuntu0.1-1.1.0+dfsg.1-4.1ubuntu0.1

  • libgit2-dev 1.1.0+dfsg.1-4.1ubuntu0.1-1.1.0+dfsg.1-4.1ubuntu0.1

Interested in being alerted when there are new versions of libgit2-28 and the other packages? Set up an alert.
USN-6678-1: libgit2 vulnerabilities | Package Alert