Cloudanix VulnDB

CVE-2023-49568

High · 7.5

CVSS

7.5

EPSS

0.7%

Published

Jan 12, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in certain software that talks to Git servers lets a malicious server make the software use up all its resources and stop working.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Crafted Git server responses trigger unbounded resource consumption (CPU/memory) in go-git clients during repository operations when using on-disk storage.

Why it matters to the business

Applications relying on go-git for repository access can be rendered unavailable by an attacker controlling or intercepting responses from a Git server, leading to operational disruption and potential downtime for dependent services.

How an attack unfolds

An attacker positions themselves as a malicious or compromised Git server and returns specially crafted protocol responses that cause the client to allocate excessive resources until exhaustion occurs.

How to fix it

Upgrade go-git to the fixed commit 5d08d3bd94c65a3b6c25c6fba6907d12b0dac4ca (equivalent to v5.11 or later) in all affected packages and rebuild dependent applications. Applications limited to in-memory filesystems require no change.

How to confirm the fix worked

Confirm go-git version is at or above the fixed commit via dependency manifests or build outputs; test connectivity to untrusted Git servers while monitoring resource usage for exhaustion.

Typical attack path

  1. Identify applications or services using vulnerable go-git versions for remote Git operations
  2. Compromise or impersonate a Git server reachable by the target client
  3. Serve malicious responses during clone, fetch, or related operations
  4. Trigger repeated resource exhaustion leading to denial of service

How to detect it

Review application and system logs for sudden spikes in memory or CPU usage during Git operations; inspect process trees for go-git clients connected to external repositories around the time of resource exhaustion events.

What your security team should do

  • Prioritize upgrade of go-git across all projects given the public disclosure and network-reachable attack vector
  • Inventory applications using on-disk go-git storage and schedule patching before external repository interactions
  • Monitor dependency update pipelines for go-git and enforce version pinning to the fixed release

The record

A denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to perform denial of service attacks by providing specially crafted responses from a Git server which triggers resource exhaustion in go-git clients. Applications using only the in-memory filesystem supported by go-git are not affected by this vulnerability. This is a go-git implementation issue and does not affect the upstream git cli.

Affected packages

Ecosystem Package Introduced Fixed
Go github.com/go-git/go-git/v5 0 5.11.0
Go github.com/go-git/go-git/v5 4.0.0 5.11.0
Go github.com/go-git/go-git/v5 5.0.0 5.11.0
Go gopkg.in/src-d/go-git.v4 4.7.1 No fix
Chainguard apko 0 0.13.2-r0
Chainguard argo-cd-2.7 0 2.7.15-r7
Chainguard argo-cd-2.7-compat 0 2.7.15-r7
Chainguard argo-cd-2.7-repo-server 0 2.7.15-r7
Chainguard argo-cd-2.8 0 2.8.7-r6
Chainguard argo-cd-2.8-compat 0 2.8.7-r6
Chainguard argo-cd-2.8-repo-server 0 2.8.7-r6
Chainguard argo-cd-2.9 0 2.9.3-r5
Chainguard argo-cd-2.9-compat 0 2.9.3-r5
Chainguard argo-cd-2.9-repo-server 0 2.9.3-r5
Chainguard bom 0 0.6.0-r0
Chainguard flux-0 0 0.41.2-r5
Chainguard flux-0.37 0 0.37.0-r5
Chainguard flux-2.0 0 2.0.1-r2
Chainguard flux-compat 0 0.41.2-r5
Chainguard flux-kustomize-controller 0 1.2.1-r2
Chainguard flux-kustomize-controller-2.0 0 1.0.1-r2
Chainguard flux-kustomize-controller-bitnami-compat 0 1.2.1-r2
Chainguard flux-kustomize-controller-iamguarded-compat 0 1.2.1-r2
Chainguard flux-source-controller-2.0 0 1.0.1-r4
Chainguard gitness 0 3.0.0_beta5-r0
Chainguard gitsign 0 0.8.1-r0
Chainguard gitsign-config 0 0.8.1-r0
Chainguard gitsign-credential-cache 0 0.8.1-r0
Chainguard go-licenses 0 1.6.0-r9
Chainguard gomplate 0 3.11.6-r3
Chainguard goreleaser 0 1.24.0-r0
Chainguard goreleaser-1.18 0 1.18.2-r12
Chainguard grafana-10.1 0 10.1.6-r1
Chainguard grafana-9 0 9.5.15-r2
Chainguard grafana-9.3 0 9.3.16-r8
Chainguard grafana-oci-compat-9 0 9.5.15-r2
Chainguard kots 0 1.104.7-r2
Chainguard kots-compat 0 1.104.7-r2
Chainguard kots-symlink-compat 0 1.104.7-r2
Chainguard kubevela 0 1.9.7-r4
Chainguard kubevela-vela-cli 0 1.9.7-r4
Chainguard kubevela-vela-core 0 1.9.7-r4
Chainguard kubevela-vela-core-compat 0 1.9.7-r4
Chainguard nuclei 0 3.2.0-r0
Chainguard pulumi 0 3.99.0-r2
Chainguard pulumi-kubernetes-operator 0 1.14.0-r4
Chainguard pulumi-language-dotnet 0 3.59.0-r3
Chainguard pulumi-language-go 0 3.99.0-r2
Chainguard pulumi-language-java 0 0.9.9-r1
Chainguard pulumi-language-nodejs 0 3.99.0-r2
Chainguard pulumi-language-python 0 3.99.0-r2
Chainguard pulumi-language-yaml 0 1.4.5-r1
Chainguard scorecard 0 4.13.1-r4
Chainguard src-fingerprint 0 0.19.0-r9
Chainguard tekton-pipelines 0 0.55.0-r2
Chainguard tekton-pipelines-entrypoint 0 0.55.0-r2
Chainguard tekton-pipelines-events 0 0.55.0-r2
Chainguard tekton-pipelines-nop 0 0.55.0-r2
Chainguard tekton-pipelines-resolvers 0 0.55.0-r2
Chainguard tekton-pipelines-sidecarlogresults 0 0.55.0-r2
Chainguard tekton-pipelines-webhook 0 0.55.0-r2
Chainguard tekton-pipelines-workingdirinit 0 0.55.0-r2
Chainguard vela-cli 0 1.9.7-r4
Chainguard vela-core 0 1.9.7-r4
Chainguard zot 0 2.0.0-r1
Debian:12 golang-github-go-git-go-git 0 No fix
Debian:13 golang-github-go-git-go-git 0 5.11.0-1
Red Hat:ceph_storage:7.1::el8 ceph 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-base 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-base-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-common 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-common-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-debugsource 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-exporter-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-fuse 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-fuse-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-immutable-object-cache 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-immutable-object-cache-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-mds-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-mgr-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-mib 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-mon-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-osd-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-radosgw-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-resource-agents 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-selinux 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 ceph-test-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 cephfs-mirror-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 cephfs-top 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 gperftools 0 1:2.7-9.el8cp
Red Hat:ceph_storage:7.1::el8 gperftools-debugsource 0 1:2.7-9.el8cp
Red Hat:ceph_storage:7.1::el8 gperftools-libs 0 1:2.7-9.el8cp
Red Hat:ceph_storage:7.1::el8 gperftools-libs-debuginfo 0 1:2.7-9.el8cp
Red Hat:ceph_storage:7.1::el8 libcephfs-devel 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 libcephfs2 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 libcephfs2-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 libcephsqlite-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 liboath 0 0:2.6.2-3.el8cp
Red Hat:ceph_storage:7.1::el8 liboath-debuginfo 0 0:2.6.2-3.el8cp
Red Hat:ceph_storage:7.1::el8 libpskc-debuginfo 0 0:2.6.2-3.el8cp
Red Hat:ceph_storage:7.1::el8 librados-devel 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 librados-devel-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 librados2 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 librados2-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 libradospp-devel 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 libradosstriper1 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 libradosstriper1-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 librbd-devel 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 librbd1 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 librbd1-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 librgw-devel 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 librgw2 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 librgw2-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 libunwind 0 0:1.3.1-3.el8cp
Red Hat:ceph_storage:7.1::el8 libunwind-debuginfo 0 0:1.3.1-3.el8cp
Red Hat:ceph_storage:7.1::el8 libunwind-debugsource 0 0:1.3.1-3.el8cp
Red Hat:ceph_storage:7.1::el8 oath-toolkit 0 0:2.6.2-3.el8cp
Red Hat:ceph_storage:7.1::el8 oath-toolkit-debuginfo 0 0:2.6.2-3.el8cp
Red Hat:ceph_storage:7.1::el8 oath-toolkit-debugsource 0 0:2.6.2-3.el8cp
Red Hat:ceph_storage:7.1::el8 oathtool-debuginfo 0 0:2.6.2-3.el8cp
Red Hat:ceph_storage:7.1::el8 pam_oath-debuginfo 0 0:2.6.2-3.el8cp
Red Hat:ceph_storage:7.1::el8 pskctool-debuginfo 0 0:2.6.2-3.el8cp
Red Hat:ceph_storage:7.1::el8 python3-ceph-argparse 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-ceph-common 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-cephfs 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-cephfs-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-rados 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-rados-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-rbd 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-rbd-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-rgw 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-rgw-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 python3-thrift-debuginfo 0 0:0.13.0-2.el8cp
Red Hat:ceph_storage:7.1::el8 rbd-fuse-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 rbd-mirror-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 rbd-nbd 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 rbd-nbd-debuginfo 0 2:18.2.1-194.el8cp
Red Hat:ceph_storage:7.1::el8 thrift 0 0:0.13.0-2.el8cp
Red Hat:ceph_storage:7.1::el8 thrift-debuginfo 0 0:0.13.0-2.el8cp
Red Hat:ceph_storage:7.1::el8 thrift-debugsource 0 0:0.13.0-2.el8cp
Red Hat:ceph_storage:7.1::el8 thrift-devel-debuginfo 0 0:0.13.0-2.el8cp
Red Hat:ceph_storage:7.1::el8 thrift-glib-debuginfo 0 0:0.13.0-2.el8cp
Red Hat:ceph_storage:7.1::el8 thrift-qt-debuginfo 0 0:0.13.0-2.el8cp
Red Hat:ceph_storage:7.1::el9 ceph 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-base 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-base-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-common 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-common-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-debugsource 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-exporter-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-fuse 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-fuse-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-immutable-object-cache 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-immutable-object-cache-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-mds-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-mgr-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-mib 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-mon-client-nvmeof-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-mon-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-osd-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-radosgw-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-resource-agents 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-selinux 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 ceph-test-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 cephadm 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 cephadm-ansible 0 1:3.2.0-1.el9cp
Red Hat:ceph_storage:7.1::el9 cephfs-mirror-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 cephfs-top 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 libcephfs-devel 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 libcephfs2 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 libcephfs2-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 libcephsqlite-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librados-devel 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librados-devel-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librados2 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librados2-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 libradospp-devel 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 libradosstriper1 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 libradosstriper1-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librbd-devel 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librbd1 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librbd1-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librgw-devel 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librgw2 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 librgw2-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-ceph-argparse 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-ceph-common 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-cephfs 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-cephfs-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-rados 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-rados-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-rbd 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-rbd-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-rgw 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 python3-rgw-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 rbd-fuse-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 rbd-mirror-debuginfo 0 2:18.2.1-194.el9cp
Red Hat:ceph_storage:7.1::el9 rbd-nbd 0 2:18.2.1-194.el9cp

Related vulnerabilities