GHSA-WQW2-RGWV-99QX
veans downgrades HTTPS to HTTP during server discovery on init and login
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-WQW2-RGWV-99QX divulgada · CVSS 6.8 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Affects all veans versions (veans has no tagged release yet).
## Summary
An on-path attacker who blocks `https://host` and `https://host:3456` makes `veans init`/`veans login` fall back to plain http and captures the posted password or bot token. The http base URL is then saved, so all later traffic stays cleartext.
## Details
- `serverCandidates` adds http candidates after an explicit `https://` URL (`veans/internal/client/discover.go:119-121`), and a bare hostname also falls back to http (`veans/internal/client/discover.go:88`).
- The first response that parses as server Info wins, with no identity check (`veans/internal/client/discover.go:63`).
## Impact
Theft of the user's password, TOTP code or token, and persistent cleartext API traffic, for a user on a network the attacker controls.
## Fix
Try http only for loopback hosts or a user-typed `http://`; never as a fallback for `https://` or a bare hostname.
This is separate from the planned veans trust gate (a confirmed, scheme-keyed trust record per origin). That gate catches a downgrade only if the user reads the `http://` in the prompt.
_Found via internal security review (03 #0, deep #7)._
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/veans |
Sin parche | — | — | — |
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-wqw2-rgwv-99qxLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
