GHSA-H8WJ-3GWG-JJJG
Release toolchain (xgo) pulled by mutable ref
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-H8WJ-3GWG-JJJG divulgada · CVSS 3.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Signed release binaries built through the mage release targets are compiled by an xgo module and Docker image fetched by mutable reference (`@latest` / `:latest`). Whoever controls those upstream refs controls what goes into the signed binaries.
Details
`prepareXgo` installs `src.techknowlogick.com/xgo@latest` (`build/magefile.go:457`) and pulls `ghcr.io/techknowlogick/xgo:latest` (`:462`). `runXgo` (`:492-499`) passes no `-image` or `-go`, so xgo picks its own default image tag regardless of what was pulled. The Docker `release:xgo` path is already pinned by digest (`Dockerfile:17`).
Impact
Low, supply chain only. Exploitation needs a compromise of the upstream xgo module, image or registry; running instances can't be attacked directly. If that happens, releases built afterwards ship attacker code under a valid signature.
Fix
Pin the xgo module version, and pass `-image ghcr.io/techknowlogick/xgo@sha256:…` (the `Dockerfile:17` digest) in `runXgo`. Pinning only the `docker pull` does nothing, because xgo chooses its image on its own.
_Found via internal security review (f2 #10, 03 #14)._
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gocode.vikunja.io/api |
Sin parche | — | — | v0.24.6 afectada |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/go-vikunja/vikunja/security/advisories/GHSA-h8wj-3gwg-jjjgLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
