Vulnerability · Published Jan 12, 2024 · Assigned by Bitdefender
CVE-2023-49568Maliciously crafted Git server replies can cause DoS on go-git clients
High 7.5
In plain English
A high-severity improper input validation in go-git from go-git. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | nfpm | 2.35.2-r0 | ALPINE-CVE-2023-49568 |
| Alpine:v3.21 | nfpm | 2.35.2-r0 | ALPINE-CVE-2023-49568 |
| Alpine:v3.22 | nfpm | 2.35.2-r0 | ALPINE-CVE-2023-49568 |
| Alpine:v3.23 | nfpm | 2.35.2-r0 | ALPINE-CVE-2023-49568 |
| Alpine:v3.24 | nfpm | 2.35.2-r0 | ALPINE-CVE-2023-49568 |
| Debian:12 | golang-github-go-git-go-git | no fix listed | DEBIAN-CVE-2023-49568 |
| Debian:13 | golang-github-go-git-go-git | 5.11.0-1 | DEBIAN-CVE-2023-49568 |
| Debian:14 | golang-github-go-git-go-git | 5.11.0-1 | DEBIAN-CVE-2023-49568 |
| Go | github.com/go-git/go-git/v5 | 5.11.0 | GHSA-mw99-9chc-xw7r |
| Go | github.com/go-git/go-git/v5 | 5.11.0 | GO-2024-2466 |
| Go | gopkg.in/src-d/go-git.v4 | no fix listed | GHSA-mw99-9chc-xw7r |
| Go | gopkg.in/src-d/go-git.v4 | no fix listed | GO-2024-2466 |
Affected products (as reported)
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H