CVE catalog

CVE-2023-49569

go-git vulnerabilities

[CVE catalog]

Severity
High · CVSS 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.51% · Oct 25, 2026

A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to create and amend files across the filesystem. In the worse case scenario, remote code execution could be achieved. Applications are only affected if they are using the ChrootOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#ChrootOS , which is the default when using "Plain" versions of Open and Clone funcs (e.g. PlainClone). Applications using BoundOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#BoundOS  or in-memory filesystems are not affected by this issue. This is a go-git implementation issue and does not affect the upstream git cli.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debiangolang-github-go-git-go-gitsid5.19.2-2fixed
Debiangolang-github-go-git-go-gitforky5.19.2-2fixed
Debiangolang-github-go-git-go-gittrixie5.14.0-1fixed
Debiangolang-github-go-git-go-gitbookworm5.4.2-3vulnerable
Ubuntugolang-github-go-git-go-gitnobleNot reportedvulnerable
Ubuntugolang-github-go-git-go-gitnoble5.4.2-4ubuntu0.24.04.3+esm2fixed
Ubuntugo-gitnoble5.4.2-4ubuntu0.24.04.3+esm2fixed
Ubuntugolang-github-go-git-go-git-devnoble5.4.2-4ubuntu0.24.04.3+esm2fixed
Ubuntugolang-github-go-git-go-gitpro5.4.2-3build1vulnerable
Ubuntugolang-github-go-git-go-gitpro5.4.2-4vulnerable
Ubuntugolang-github-go-git-go-gitpro5.4.2-4ubuntu0.24.04.1vulnerable
Ubuntugolang-github-go-git-go-gitpro5.4.2-4ubuntu0.24.04.2vulnerable
Ubuntugolang-github-go-git-go-gitpro5.4.2-4ubuntu0.24.04.2+esm1vulnerable
Ubuntugolang-github-go-git-go-gitpro5.4.2-4ubuntu0.24.04.3vulnerable
Ubuntugolang-github-go-git-go-gitpro5.4.2-4ubuntu0.24.04.3+esm1vulnerable
Ubuntugolang-github-go-git-go-gitpro5.4.2-4ubuntu0.24.04.3+esm2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-go-git-go-gitsourcesid5.11.0-1not yet assignedNot reported[1060701]
Debiangolang-github-go-git-go-gitsourceforky5.11.0-1not yet assignedNot reported[1060701]
Debiangolang-github-go-git-go-gitsourcetrixie5.11.0-1not yet assignedNot reported[1060701]
Debiangolang-github-go-git-go-gitsourcebookworm(unfixed)not yet assignedNot reported[1060701]
Ubuntugolang-github-go-git-go-gitdebnoble5.4.2-4ubuntu0.24.04.3+esm2Not reportedNot reportedNot reported
Ubuntugo-gitdebnoble5.4.2-4ubuntu0.24.04.3+esm2Not reportedNot reportedNot reported
Ubuntugolang-github-go-git-go-git-devdebnoble5.4.2-4ubuntu0.24.04.3+esm2Not reportedNot reportedNot reported
Ubuntugolang-github-go-git-go-gitdebpro5.4.2-4ubuntu0.24.04.3+esm2Not reportedUBUNTU-CVE-2023-49569Not reported

[Debian bug #1060701]

Notes

[bookworm] golang-github-go-git-go-git: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References