CVE-2023-49569
Reported by bitdefender · Published January 12, 2024
github.com/go-git/go-git/v4 is fixed in v4.13.1 and 4.13.1 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/go-git/go-git/v4 | Go Modules | v4.13.1, 4.13.1 |
| github.com/go-git/go-git/v5 | Go Modules | 5.11.0 |
| gopkg.in/src-d/go-git.v4 | Go Modules | 4.13.1 |
| bom | Chainguard | 0.6.0-r0 |
| nuclei | Chainguard | 3.2.0-r0 |
| flux-2.0 | Chainguard | 2.0.1-r2 |
| gitness | Chainguard | 3.0.0_beta5-r0 |
| amazon-ssm-agent | Amazon Linux | 3.2.2222.0-1.amzn2023, 3.2.2222.0-1.amzn2 |
| goreleaser-1.18 | Wolfi | 1.18.2-r12 |
| scorecard | Chainguard | 4.13.1-r4 |
| goreleaser | Wolfi | 1.24.0-r0 |
| go-licenses | Wolfi | 1.6.0-r9 |
13 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| go-git | go-git | 5.11.0 |
| chainguard | bom | 0 |
| github.com | go-git/go-git/v4 | 4.0.0 |
| chainguard | nuclei | 0 |
| chainguard | flux-2.0 | 0 |
| chainguard | gitness | 0 |
| amazon:2 | amazon-ssm-agent | 0 |
| wolfi | goreleaser-1.18 | 0 |
| amazon:2023 | amazon-ssm-agent | 0 |
| chainguard | scorecard | 0 |
| github.com | go-git/go-git/v5 | 5.0.0 |
| wolfi | goreleaser | 0 |
| wolfi | go-licenses | 0 |
| chainguard | grafana-9 | 0 |
| wolfi | gitness | 0 |
| wolfi | pulumi-kubernetes-operator | 0 |
| chainguard | goreleaser-1.18 | 0 |
| wolfi | nuclei | 0 |
| chainguard | goreleaser | 0 |
| gopkg.in | src-d/go-git.v4 | 4.0.0 |
…and 9 more
Timeline
- Jan 10, 2024 CVE Published
- Jan 17, 2024 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published
- Nov 14, 2024 CVE Updated
- Mar 10, 2026 Security Advisory (34 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (33 in total, the first dated here)
- Jul 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-49569
vulnetix vdb fixes CVE-2023-49569
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-49569/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart