Schwachstellen / CVE-2023-49569

kritisch

CVE-2023-49569

go-git: Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients

Veröffentlicht Geändert CWE 22
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Red Hat, Azure Linux, CBL-Mariner. Niedriger laut Amazon (hoch), Ubuntu (mittel).

Beschreibung

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.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
Azure Linux 3.0packer0:1.9.5-1.azl3
CBL-Mariner 2.0cri-o, packer0:1.22.3-12.cm2 und 1 weitere
go::GitHub Security Advisory Gogithub.com/go-git/go-git/v5, gopkg.in/src-d/go-git.v45.11.0
amazon linux 1amazon-ssm-agent, amazon-ssm-agent-debuginfo3.2.2222.0-1.amzn1
amazon linux 2amazon-ssm-agent, amazon-ssm-agent-debuginfo3.2.2222.0-1.amzn2
amazon linux 2023amazon-ssm-agent, amazon-ssm-agent-debuginfo, amazon-ssm-agent-debugsource3.2.2222.0-1.amzn2023
chainguardbom, gitness, gitsign und 6 weitere0.6.0-r0 und 8 weitere
debian 12golang-github-go-git-go-gitkein Fix angegeben
debian 13golang-github-go-git-go-git5.11.0-1
debian 14golang-github-go-git-go-git5.11.0-1
echogolang-github-go-git-go-git5.11.0-1
rapidfort amazon linux 2023amazon-ssm-agent3.2.2222.0-1.amzn2023
Alle 39 Einträge aus 17 Quellen zeigen
QuellePaketBehoben in
Azure Linux 3.0packer0:1.9.5-1.azl3
CBL-Mariner 2.0cri-o0:1.22.3-12.cm2
CBL-Mariner 2.0packer0:1.9.5-3.cm2
go::GitHub Security Advisory Gogithub.com/go-git/go-git/v55.11.0
go::GitHub Security Advisory Gogopkg.in/src-d/go-git.v4kein Fix angegeben
amazon linux 1amazon-ssm-agent3.2.2222.0-1.amzn1
amazon linux 1amazon-ssm-agent-debuginfo3.2.2222.0-1.amzn1
amazon linux 2amazon-ssm-agent3.2.2222.0-1.amzn2
amazon linux 2amazon-ssm-agent-debuginfo3.2.2222.0-1.amzn2
amazon linux 2023amazon-ssm-agent3.2.2222.0-1.amzn2023
amazon linux 2023amazon-ssm-agent-debuginfo3.2.2222.0-1.amzn2023
amazon linux 2023amazon-ssm-agent-debugsource3.2.2222.0-1.amzn2023
chainguardbom0.6.0-r0
chainguardgitness3.0.0_beta5-r0
chainguardgitsign0.8.1-r0
chainguardgo-licenses1.6.0-r9
chainguardgoreleaser1.24.0-r0
chainguardnuclei3.2.0-r0
chainguardpulumi-kubernetes-operator1.14.0-r6
chainguardscorecard4.13.1-r4
chainguardsrc-fingerprint0.19.0-r9
debian 12golang-github-go-git-go-gitkein Fix angegeben
debian 13golang-github-go-git-go-git5.11.0-1
debian 14golang-github-go-git-go-git5.11.0-1
echogolang-github-go-git-go-git5.11.0-1
rapidfort amazon linux 2023amazon-ssm-agent3.2.2222.0-1.amzn2023
rapidfort debian 12golang-github-go-git-go-git0:5.11.0-1
rapidfort debian 13golang-github-go-git-go-git0:5.11.0-1
ubuntu 22.04golang-github-go-git-go-gitkein Fix angegeben
ubuntu 24.04golang-github-go-git-go-gitkein Fix angegeben
wolfibom0.6.0-r0
wolfigitness3.0.0_beta5-r0
wolfigitsign0.8.1-r0
wolfigo-licenses1.6.0-r9
wolfigoreleaser1.24.0-r0
wolfinuclei3.2.0-r0
wolfipulumi-kubernetes-operator1.14.0-r6
wolfiscorecard4.13.1-r4
wolfisrc-fingerprint0.19.0-r9

Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.