Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gopkg.in/src-d/go-git.v4
  4. ›
  5. CVE-2023-49568

CVE-2023-49568: Maliciously crafted Git server replies can cause DoS on go-git clients

December 27, 2023 (updated January 6, 2025)

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.

References

  • github.com/advisories/GHSA-mw99-9chc-xw7r
  • github.com/go-git/go-git
  • github.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r
  • nvd.nist.gov/vuln/detail/CVE-2023-49568

Code Behaviors & Features

Detect and mitigate CVE-2023-49568 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.7.1 up to 4.13.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

go/gopkg.in/src-d/go-git.v4/CVE-2023-49568.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.