Vulnerabilidades / CVE-2023-49569

crítica

CVE-2023-49569

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

Publicada Modificada CWE 22
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

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

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA, Red Hat, Azure Linux, CBL-Mariner. Más baja según Amazon (alta), Ubuntu (media).

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
Azure Linux 3.0packer0:1.9.5-1.azl3
CBL-Mariner 2.0cri-o, packer0:1.22.3-12.cm2 y 1 más
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 y 6 más0.6.0-r0 y 8 más
debian 12golang-github-go-git-go-gitsin corrección indicada
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
Mostrar las 39 entradas de 17 fuentes
FuentePaqueteCorregido 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.v4sin corrección indicada
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-gitsin corrección indicada
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-gitsin corrección indicada
ubuntu 24.04golang-github-go-git-go-gitsin corrección indicada
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

Referencias

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.