CVE-2023-49569

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*

History

22 Jan 2024, 18:57

Type Values Removed Values Added
References () https://github.com/go-git/go-git/security/advisories/GHSA-449p-3h89-pw88 - () https://github.com/go-git/go-git/security/advisories/GHSA-449p-3h89-pw88 - Vendor Advisory
First Time Go-git Project
Go-git Project go-git
CPE cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*

12 Jan 2024, 13:47

Type Values Removed Values Added
Summary
  • (es) Se descubrió una vulnerabilidad de path traversal en versiones de go-git anteriores a la v5.11. Esta vulnerabilidad permite a un atacante crear y modificar archivos en todo el sistema de archivos. En el peor de los casos, se podría lograr la ejecución remota de código. Las aplicaciones solo se ven afectadas si usan ChrootOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#ChrootOS, que es el valor predeterminado cuando se usan versiones "simples" de Open y funciones de clonación (por ejemplo, PlainClone). Las aplicaciones que utilizan BoundOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#BoundOS o sistemas de archivos en memoria no se ven afectados por este problema. Este es un problema de implementación de go-git y no afecta el cli de git ascendente.

12 Jan 2024, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-12 11:15

Updated : 2024-01-22 18:57


NVD link : CVE-2023-49569

Mitre link : CVE-2023-49569

CVE.ORG link : CVE-2023-49569


JSON object : View

Products Affected

go-git_project

  • go-git
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')