CVE catalog

CVE-2020-12278

libgit2: CVE-2020-12278

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
5.24% · Oct 25, 2026

An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. path.c mishandles equivalent filenames that exist because of NTFS Alternate Data Streams. This may allow remote code execution when cloning a repository. This issue is similar to CVE-2019-1352.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibgit2sid1.9.7+ds-1fixed
Debianlibgit2forky1.9.7+ds-1fixed
Debianlibgit2trixie1.9.0+ds-2+deb13u1fixed
Debianlibgit2trixie-security1.9.0+ds-2+deb13u1fixed
Debianlibgit2bookworm1.5.1+ds-1+deb12u1fixed
Debianlibgit2bookworm-security1.5.1+ds-1+deb12u2fixed
Ubuntulibgit2pro0.25.1+really0.24.6-1vulnerable
Ubuntulibgit2pro0.26.0+dfsg.1-1.1vulnerable
Ubuntulibgit2pro0.26.0+dfsg.1-1.1build1vulnerable
Ubuntulibgit2pro0.26.0+dfsg.1-1.1ubuntu0.2vulnerable
Ubuntulibgit2pro0.26.0+dfsg.1-1.1ubuntu0.2+esm1fixed
Ubuntulibgit2pro0.25.1+really0.24.6-1vulnerable
Ubuntulibgit2pro0.26.0+dfsg.1-1.1vulnerable
Ubuntulibgit2pro0.26.0+dfsg.1-1.1build1vulnerable
Ubuntulibgit2pro0.26.0+dfsg.1-1.1ubuntu0.2vulnerable
Ubuntulibgit2pro0.26.0+dfsg.1-1.1ubuntu0.2+esm1fixed
Ubuntulibgit220.040.27.7+dfsg.1-0.2build1vulnerable
Ubuntulibgit220.040.28.3+dfsg.1-1vulnerable
Ubuntulibgit220.040.28.3+dfsg.1-1ubuntu1vulnerable
Ubuntulibgit220.040.28.4+dfsg.1-2vulnerable
Ubuntulibgit220.040.28.4+dfsg.1-2ubuntu0.1fixed
Ubuntulibgit222.041.1.0+dfsg.1-4vulnerable
Ubuntulibgit222.041.1.0+dfsg.1-4.1vulnerable
Ubuntulibgit222.041.1.0+dfsg.1-4.1build1vulnerable
Ubuntulibgit222.041.1.0+dfsg.1-4.1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibgit2sourcesid0.28.4+dfsg.1-2not yet assignedNot reportedNot reported
Debianlibgit2sourceforky0.28.4+dfsg.1-2not yet assignedNot reportedNot reported
Debianlibgit2sourcetrixie0.28.4+dfsg.1-2not yet assignedNot reportedNot reported
Debianlibgit2sourcebookworm0.28.4+dfsg.1-2not yet assignedNot reportedNot reported
Ubuntulibgit2debpro0.26.0+dfsg.1-1.1ubuntu0.2+esm1Not reportedUBUNTU-CVE-2020-12278Not reported
Ubuntulibgit2debpro0.26.0+dfsg.1-1.1ubuntu0.2+esm1Not reportedUSN-6678-1Not reported
Ubuntulibgit2deb20.040.28.4+dfsg.1-2ubuntu0.1Not reportedUSN-6678-1Not reported
Ubuntulibgit2deb22.041.1.0+dfsg.1-4.1ubuntu0.1Not reportedUSN-6678-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libgit2-1.5]Unknown

    Source package: [libgit2]

    Details (4)
    • 1.5.1+ds-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.5.1+ds-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.5.1+ds-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.5.1+ds-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

  • [libgit2-1.8]Unknown

    Source package: [libgit2]

    Details (2)
    • 1.8.4+ds-3~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.8.4+ds-3~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

  • [libgit2-dev]Unknown

    Source package: [libgit2]

    Details (6)
    • 1.5.1+ds-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.5.1+ds-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.8.4+ds-3~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.8.4+ds-3~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.5.1+ds-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.5.1+ds-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

  • Source package: [libgit2]

    Details (6)
    • 1.5.1+ds-1+deb12u1 · all · bookworm

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.5.1+ds-1+deb12u1 · all · bookworm

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.8.4+ds-3~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.8.4+ds-3~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.5.1+ds-1+deb12u1 · all · bookworm-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

    • 1.5.1+ds-1+deb12u1 · all · bookworm-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12

[Debian 13 (Trixie)]

  • [libgit2-1.9]Unknown

    Source package: [libgit2]

    Details (4)
    • 1.9.0+ds-2 · amd64 · trixie

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

    • 1.9.0+ds-2 · arm64 · trixie

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

    • 1.9.0+ds-2+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

    • 1.9.0+ds-2+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

  • [libgit2-dev]Unknown

    Source package: [libgit2]

    Details (4)
    • 1.9.0+ds-2 · amd64 · trixie

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

    • 1.9.0+ds-2 · arm64 · trixie

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

    • 1.9.0+ds-2+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

    • 1.9.0+ds-2+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

  • Source package: [libgit2]

    Details (4)
    • 1.9.0+ds-2 · all · trixie

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

    • 1.9.0+ds-2 · all · trixie

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

    • 1.9.0+ds-2+deb13u1 · all · trixie-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

    • 1.9.0+ds-2+deb13u1 · all · trixie-security

      Fixed · Fixed: 0.28.4+dfsg.1-2

      dsa · libgit2 · debian · 13

Observed:

References