UBUNTU-CVE-2025-21613

Source
https://ubuntu.com/security/CVE-2025-21613
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-21613.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-21613
Related
Published
2025-01-06T17:15:00Z
Modified
2025-01-13T10:27:00Z
Summary
[none]
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.

References

Affected packages

Ubuntu:22.04:LTS / golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/ubuntu/golang-github-go-git-go-git@5.4.2-3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.4.2-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/ubuntu/golang-github-go-git-go-git@5.11.0-4?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.4.2-4
5.11.0-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/ubuntu/golang-github-go-git-go-git@5.4.2-4ubuntu0.24.04.2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.4.2-3build1
5.4.2-4
5.4.2-4ubuntu0.24.04.1
5.4.2-4ubuntu0.24.04.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}