CVE-2025-21613

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21613
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21613.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21613
Aliases
Related
Published
2025-01-06T17:15:47Z
Modified
2025-01-08T09:58:07.929962Z
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

Debian:12 / golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/debian/golang-github-go-git-go-git?arch=source

Affected ranges

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

Affected versions

5.*

5.4.2-3
5.4.2-4
5.11.0-1
5.11.0-2
5.11.0-3
5.11.0-4
5.12.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/debian/golang-github-go-git-go-git?arch=source

Affected ranges

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

Affected versions

5.*

5.4.2-3
5.4.2-4
5.11.0-1
5.11.0-2
5.11.0-3
5.11.0-4
5.12.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}