Descrizione
The repository search used by the dashboard (`GET /repo/search`) returned the internal commit status object of each repository. Since 28.0.0 that object included the repository owner's full user record, so any signed-in user could read the password hash, salt and email address of the owner of any repository they can see that has a commit status. The response now contains only the state and target URL of the commit status.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.5, EPSS 0.3% (percentile 18).
Versioni da aggiornare
- Gitea Gitea: vulnerabili le versioni dalla
28.0.0precedenti alla28.4.0→ aggiornare alla28.4.0o successiva.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Verificare quali dati risultano esposti e ruotare eventuali segreti (token, password, chiavi) potenzialmente compromessi.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Gitea | Gitea | ≥ 28.0.0 < 28.4.0 | 28.4.0 |
Riferimenti
- Riferimentohttps://blog.gitea.com/release-of-28.4.0/
- Riferimentohttps://github.com/go-gitea/gitea/pull/40377
- Riferimentohttps://github.com/go-gitea/gitea/pull/40384
- Riferimentohttps://github.com/go-gitea/gitea/releases/tag/v28.4.0
- Riferimentohttps://github.com/go-gitea/gitea/security/advisories/GHSA-frjx-8pcw-8c9q