p PatchFirst

CVE-2026-45022

CVE-2026-45022 · go-git: Improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git

CVSS 7.0 · Alta · EPSS 0,2% · Corrección disponible

Compara con tu versión instalada

Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.

Comprueba la versión instalada:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-go-git-go-git"'

Evalúa los riesgos de tu servidor

La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.

La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.

curl -fsSL https://patchfirst.dev/check.sh | sh
Comprobar tu servidor gratis →

Los canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.0 and 6.0.0-alpha.3, go-git may parse malformed Git objects in a way that differs from upstream Git. When commit or tag objects contain ambiguous or malformed headers, go-git’s decoded representation may expose values differently from how Git itself would interpret or reject the same object. Additionally, go-git’s commit signing and verification logic operates over commit data reconstructed from go-git’s parsed representation rather than the original raw object bytes. As a result, go-git may sign or verify a commit payload that is not byte-for-byte equivalent to the object stored in the repository. This can cause a signature to appear valid for a commit whose displayed or effective metadata differs from the object that was intended to be signed. This vulnerability is fixed in 5.19.0 and 6.0.0-alpha.3.

Publicación
Actualización

Correcciones en distribuciones

Pila tecnológica: system

Productos y versiones afectados

  • go-git

    Versiones
    • < 5.19.0: Afectada
    • >= 6.0.0-alpha.1, < 6.0.0-alpha.3: Afectada

    Sin corrección publicada

  • golang-github-go-git-go-git Debian 12

    Versiones
    • 5.11.0-1
    • 5.11.0-2
    • 5.11.0-3
    • 5.11.0-4
    • 5.12.0-1
    • 5.13.2-1
    Todas las versiones (15)
    • 5.14.0-1
    • 5.16.2-1
    • 5.17.0-1
    • 5.17.1-1
    • 5.19.1-1
    • 5.19.2-1
    • 5.19.2-2
    • 5.4.2-3
    • 5.4.2-4
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-git-go-git Debian 13

    Versiones
    • 5.14.0-1
    • 5.16.2-1
    • 5.17.0-1
    • 5.17.1-1
    • 5.19.1-1
    • 5.19.2-1
    Todas las versiones (7)
    • 5.19.2-2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-git-go-git Debian 14

    Versiones
    • 5.14.0-1
    • 5.16.2-1
    • 5.17.0-1
    • 5.17.1-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 5.19.1-1

    Actualiza a 5.19.1-1

  • golang-github-go-git-go-git-v6 Debian 14

    Versiones
    • 6~git20260305.2083cf94-1
    • 6~git20260305.2083cf94-2
    • 6~git20260305.2083cf94-3
    Intervalos de versiones afectados
    • ECOSYSTEM: < 6.0.0~alpha4-1

    Actualiza a 6.0.0~alpha4-1

  • golang-github-go-git-go-git Ubuntu Pro 22.04 LTS

    Versiones
    • 5.4.2-3
    • 5.4.2-3ubuntu0.1~esm1
    • 5.4.2-3ubuntu0.1~esm2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-git-go-git Ubuntu Pro 24.04 LTS

    Versiones
    • 5.4.2-3build1
    • 5.4.2-4
    • 5.4.2-4ubuntu0.24.04.1
    • 5.4.2-4ubuntu0.24.04.2
    • 5.4.2-4ubuntu0.24.04.2+esm1
    • 5.4.2-4ubuntu0.24.04.3
    Todas las versiones (9)
    • 5.4.2-4ubuntu0.24.04.3+esm1
    • 5.4.2-4ubuntu0.24.04.3+esm2
    • 5.4.2-4ubuntu0.24.04.3+esm3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-git-go-git Ubuntu 25.10

    Versiones
    • 5.14.0-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-git-go-git Ubuntu 26.10

    Versiones
    • 5.16.2-1
    • 5.19.1-1
    • 5.19.2-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-git-go-git Ubuntu Pro 26.04 LTS

    Versiones
    • 5.14.0-1
    • 5.16.2-1
    • 5.16.2-1ubuntu0.1~esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →