Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

USN-6678-1

Active Moderate

libgit2 vulnerabilities

Published
05 Mar 2024, 18:46:35 UTC
Updated
24 Nov 2026, 09:37:35 UTC

Related CVEs

CVE identifiers linked by this publisher.

4
Publisher relationship details 4 records
Explicit publisher CVE relationships
CVE
CVE-2020-12278
CVE-2020-12279
CVE-2023-22742
CVE-2024-24577

Description

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

Read full publisher description 1004 characters

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)

No solution guidance was provided.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

2

Shared package data

Applies to all 2 occurrences
Ecosystem
Ubuntu:Pro:18.04:LTS
Fixed version
0.26.0+dfsg.1-1.1ubuntu0.2+esm1
  1. 1libgit2Source package

    Occurrence-specific details
    Package role
    Source package

    Versions

    • 0.25.1+really0.24.6-1
    • 0.26.0+dfsg.1-1.1
    • 0.26.0+dfsg.1-1.1build1
    • 0.26.0+dfsg.1-1.1ubuntu0.2

    Affected ranges and events

    • ECOSYSTEMRepository Not supplied in this record
      • introduced: 0
      • Fixed at 0.26.0+dfsg.1-1.1ubuntu0.2+esm1
  2. 2libgit2-26Binary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

10
CVSS values preserved from advisory sources
ScopeVersionScoreSeveritySourceVector
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown

Publisher references

6

Provenance

Schema version
1.9.2
Parser version
ubuntu-osv/1
Data license
CC-BY-SA-4.0
Attribution
Canonical / Ubuntu Security Team
Severity origin
publisher

No publisher provenance records were supplied.

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected