Find a vulnerability
Search criteria
Related vulnerabilities
USN-6678-1 (UBUNTU-CVE-2020-12278)
Vulnerability from osv_ubuntu – Published: 2024-03-05 18:46 – Updated: 2026-11-24 09:37 – Source websiteIt 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)
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:Pro:16.04:LTS |
libgit2
pkg:deb/ubuntu/libgit2@0.24.1-2ubuntu0.2+esm2?arch=source&distro=esm-apps/xenial
|
Affected: < 0.24.1-2ubuntu0.2+esm2 (ecosystem)
0.22.2-20.23.1-10.24.1-20.24.1-2ubuntu0.20.24.1-2ubuntu0.2+esm1
|
| Ubuntu:Pro:18.04:LTS |
libgit2
pkg:deb/ubuntu/libgit2@0.26.0+dfsg.1-1.1ubuntu0.2+esm1?arch=source&distro=esm-apps/bionic
|
Affected: < 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 (ecosystem)
0.25.1+really0.24.6-10.26.0+dfsg.1-1.10.26.0+dfsg.1-1.1build10.26.0+dfsg.1-1.1ubuntu0.2
|
| Ubuntu:20.04:LTS |
libgit2
pkg:deb/ubuntu/libgit2@0.28.4+dfsg.1-2ubuntu0.1?arch=source&distro=focal
|
Affected: < 0.28.4+dfsg.1-2ubuntu0.1 (ecosystem)
0.27.7+dfsg.1-0.2build10.28.3+dfsg.1-10.28.3+dfsg.1-1ubuntu10.28.4+dfsg.1-2
|
| Ubuntu:22.04:LTS |
libgit2
pkg:deb/ubuntu/libgit2@1.1.0+dfsg.1-4.1ubuntu0.1?arch=source&distro=jammy
|
Affected: < 1.1.0+dfsg.1-4.1ubuntu0.1 (ecosystem)
1.1.0+dfsg.1-41.1.0+dfsg.1-4.11.1.0+dfsg.1-4.1build1
|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2020-12278",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-12279",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-22742",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-24577",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libgit2-24",
"binary_version": "0.24.1-2ubuntu0.2+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "libgit2",
"purl": "pkg:deb/ubuntu/libgit2@0.24.1-2ubuntu0.2+esm2?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.24.1-2ubuntu0.2+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.22.2-2",
"0.23.1-1",
"0.24.1-2",
"0.24.1-2ubuntu0.2",
"0.24.1-2ubuntu0.2+esm1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2020-12278",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-12279",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-22742",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-24577",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libgit2-26",
"binary_version": "0.26.0+dfsg.1-1.1ubuntu0.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "libgit2",
"purl": "pkg:deb/ubuntu/libgit2@0.26.0+dfsg.1-1.1ubuntu0.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.26.0+dfsg.1-1.1ubuntu0.2+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2023-22742",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-24577",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libgit2-28",
"binary_version": "0.28.4+dfsg.1-2ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libgit2",
"purl": "pkg:deb/ubuntu/libgit2@0.28.4+dfsg.1-2ubuntu0.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.28.4+dfsg.1-2ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.27.7+dfsg.1-0.2build1",
"0.28.3+dfsg.1-1",
"0.28.3+dfsg.1-1ubuntu1",
"0.28.4+dfsg.1-2"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2023-22742",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-24577",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libgit2-1.1",
"binary_version": "1.1.0+dfsg.1-4.1ubuntu0.1"
},
{
"binary_name": "libgit2-fixtures",
"binary_version": "1.1.0+dfsg.1-4.1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libgit2",
"purl": "pkg:deb/ubuntu/libgit2@1.1.0+dfsg.1-4.1ubuntu0.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0+dfsg.1-4.1ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.0+dfsg.1-4",
"1.1.0+dfsg.1-4.1",
"1.1.0+dfsg.1-4.1build1"
]
}
],
"aliases": [],
"details": "It was discovered that libgit2 mishandled equivalent filenames on NTFS\npartitions. If a user or automated system were tricked into cloning a\nspecially crafted repository, an attacker could possibly use this issue to\nexecute arbitrary code. This issue only affected Ubuntu 16.04 LTS and\nUbuntu 18.04 LTS. (CVE-2020-12278, CVE-2020-12279)\n\nIt was discovered that libgit2 did not perform certificate checking by\ndefault. An attacker could possibly use this issue to perform a\nmachine-in-the-middle attack. This issue only affected Ubuntu 16.04 LTS,\nUbuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2023-22742)\n\nIt was discovered that libgit2 could be made to run into an infinite loop.\nAn attacker could possibly use this issue to cause a denial of service.\nThis issue only affected Ubuntu 23.10. (CVE-2024-24575)\n\nIt was discovered that libgit2 did not properly manage memory. An attacker\ncould possibly use this issue to cause a denial of service or execute\narbitrary code. (CVE-2024-24577)\n",
"id": "USN-6678-1",
"modified": "2026-11-24T09:37:35Z",
"published": "2024-03-05T18:46:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6678-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-12278"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-12279"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-22742"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-24575"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-24577"
}
],
"related": [],
"schema_version": "1.9.2",
"summary": "libgit2 vulnerabilities",
"upstream": [
"UBUNTU-CVE-2020-12278",
"UBUNTU-CVE-2020-12279",
"UBUNTU-CVE-2023-22742",
"UBUNTU-CVE-2024-24575",
"UBUNTU-CVE-2024-24577"
]
}