Vulnérabilités / CVE-2023-49569

critique

CVE-2023-49569

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

Publiée Modifiée CWE 22
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Red Hat, Azure Linux, CBL-Mariner. Plus basse selon Amazon (élevée), Ubuntu (moyenne).

Description

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
Azure Linux 3.0packer0:1.9.5-1.azl3
CBL-Mariner 2.0cri-o, packer0:1.22.3-12.cm2 et 1 autres
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 et 6 autres0.6.0-r0 et 8 autres
debian 12golang-github-go-git-go-gitpas de correctif indiqué
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
Afficher les 39 entrées de 17 sources
SourcePaquetCorrigé en
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.v4pas de correctif indiqué
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-gitpas de correctif indiqué
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-gitpas de correctif indiqué
ubuntu 24.04golang-github-go-git-go-gitpas de correctif indiqué
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

Références

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.