VDB

CVE-2023-49569

CVE-2023-49569 PUBLISHED CVSS 9.8 CRITICAL

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.

PackageEcosystemFixed in
github.com/go-git/go-git/v4Go Modulesv4.13.1, 4.13.1
github.com/go-git/go-git/v5Go Modules5.11.0
gopkg.in/src-d/go-git.v4Go Modules4.13.1
bomChainguard0.6.0-r0
nucleiChainguard3.2.0-r0
flux-2.0Chainguard2.0.1-r2
gitnessChainguard3.0.0_beta5-r0
amazon-ssm-agentAmazon Linux3.2.2222.0-1.amzn2023, 3.2.2222.0-1.amzn2
goreleaser-1.18Wolfi1.18.2-r12
scorecardChainguard4.13.1-r4
goreleaserWolfi1.24.0-r0
go-licensesWolfi1.6.0-r9

13 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
go-gitgo-git5.11.0
chainguardbom0
github.comgo-git/go-git/v44.0.0
chainguardnuclei0
chainguardflux-2.00
chainguardgitness0
amazon:2amazon-ssm-agent0
wolfigoreleaser-1.180
amazon:2023amazon-ssm-agent0
chainguardscorecard0
github.comgo-git/go-git/v55.0.0
wolfigoreleaser0
wolfigo-licenses0
chainguardgrafana-90
wolfigitness0
wolfipulumi-kubernetes-operator0
chainguardgoreleaser-1.180
wolfinuclei0
chainguardgoreleaser0
gopkg.insrc-d/go-git.v44.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›