Descrizione
Replying to a code review comment accepted a review ID that belongs to a different pull request, through the web form, the API and incoming mail replies. A signed-in user could reply on a pull request they can access with the ID of a review in a repository they cannot read, and the new comment was attached to that review and received the diff context of the commented lines. Replies are now only accepted for a review of the same pull request, and for a pending review only from its author.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 3.1, EPSS 0.3% (percentile 18).
Versioni da aggiornare
- Gitea Gitea: vulnerabili le versioni dalla
1.14.0precedenti alla28.4.0→ aggiornare alla28.4.0o successiva.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
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 | ≥ 1.14.0 < 28.4.0 | 28.4.0 |
Riferimenti
- Riferimentohttps://blog.gitea.com/release-of-28.4.0/
- Riferimentohttps://github.com/go-gitea/gitea/pull/40131
- Riferimentohttps://github.com/go-gitea/gitea/pull/40281
- Riferimentohttps://github.com/go-gitea/gitea/releases/tag/v28.4.0
- Riferimentohttps://github.com/go-gitea/gitea/security/advisories/GHSA-wgx7-537g-xfrg