p PatchFirst

USN-8088-1

USN-8088-1 · Ubuntu security update: golang-github-go-git-go-git

Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-go-git-go-git"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from the distribution’s bulletin. Check the original advisory before installing the update.

Ionut Lalu discovered that go-git incorrectly handled certain specially crafted Git server responses. An attacker could possibly use this issue to cause a denial of service. (CVE-2023-49568, CVE-2025-21614)

Ionut Lalu discovered that go-git incorrectly handled file system paths when using the ChrootOS implementation. A remote attacker could possibly use this issue to perform a path traversal and create or modify arbitrary files, leading to remote code execution. (CVE-2023-49569)

It was discovered that go-git did not properly sanitize arguments when invoking git-upload-pack using the file transport protocol. An attacker could possibly use this issue to inject arbitrary flag values when interacting with local Git repositories. (CVE-2025-21613)

It was discovered that go-git did not properly verify integrity checks for pack and index files. An attacker could possibly use this issue to cause go-git to process corrupted repository data, resulting in unexpected errors or an incorrect repository state. (CVE-2026-25934)

Published
Updated

Vulnerabilities closed

Stack: system

Updated packages and versions

  • golang-github-go-git-go-git Ubuntu Pro 22.04 LTS

    Versions
    • 5.4.2-3
    Affected ranges
    • ECOSYSTEM: < 5.4.2-3ubuntu0.1~esm1

    Update to 5.4.2-3ubuntu0.1~esm1

  • golang-github-go-git-go-git Ubuntu Pro 24.04 LTS

    Versions
    • 5.4.2-3build1
    • 5.4.2-4
    • 5.4.2-4ubuntu0.24.04.1
    • 5.4.2-4ubuntu0.24.04.2
    • 5.4.2-4ubuntu0.24.04.2+esm1
    • 5.4.2-4ubuntu0.24.04.3
    All versions (7)
    • 5.4.2-4ubuntu0.24.04.3+esm1
    Affected ranges
    • ECOSYSTEM: < 5.4.2-4ubuntu0.24.04.3+esm2

    Update to 5.4.2-4ubuntu0.24.04.3+esm2

Original sources

Check your server →