Advisory

DEBIAN-CVE-2025-21613

Also known as: CVE-2025-21613

Summary

The record has no summary.

Details

go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries. This vulnerability is fixed in 5.13.0.

Severity

Not rated by the source.

Dates

Published
2025-01-06 17:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

golang-github-go-git-go-git

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-github-go-git-go-git

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 5.13.2-1 (ecosystem)

Fixed versions

5.13.2-1

Fix

  • Fixed version 5.13.2-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-github-go-git-go-git

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 5.13.2-1 (ecosystem)

Fixed versions

5.13.2-1

Fix

  • Fixed version 5.13.2-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences