1. Archivio CVE
  2. 2026
  3. CVE-2026-25934

CVE-2026-25934

4.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N 4.3 – Media

Descrizione

go-git is a highly extensible git implementation library written in pure Go. Prior to 5.16.5, a vulnerability was discovered in go-git whereby data integrity values for .pack and .idx files were not properly verified. This resulted in go-git potentially consuming corrupted files, which would likely result in unexpected errors such as object not found. For context, clients fetch packfiles from upstream Git servers. Those files contain a checksum of their contents, so that clients can perform integrity checks before consuming it. The pack indexes (.idx) are generated locally by go-git, or the git cli, when new .pack files are received and processed. The integrity checks for both files were not being verified correctly. This vulnerability is fixed in 5.16.5.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
go-git project go-git < 5.16.5 go
Tutte le 11 vulnerabilità di Go-git Project Go-git

Tipo di vulnerabilità

CWE-354 Improper Validation of Integrity Check Value

The product does not validate or incorrectly validates the integrity check values or checksums of a message.

Impatto sui sistemi

AmbitoImpatto
Integrità, Altro Modificare i dati dell’applicazione, Altro
Integrità, Altro Altro
Non ripudio, Altro Nascondere le proprie attività, Altro

Come si previene

Sviluppo The protocol specification describes the algorithm used for calculating the checksum. It is then a matter of implementing the calculation and verifying that the calculated checksum and the received checksum match.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 203 CVE di tipo CWE-354, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org