Descrizione
Git LFS is a Git extension for versioning large files. From 0.5.0 until 3.8.1, Git LFS may forward a Cookie header after an HTTP redirect to a host other than the one for which the header was intended. That unintended host can therefore receive cookies containing credentials or other confidential values. Authorization headers are never forwarded to inappropriate hosts and are not the affected secret in this vulnerability. This issue is fixed in version 3.8.1.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.6, EPSS 0.5% (percentile 40).
Versioni da aggiornare
- git-lfs git-lfs: vulnerabile la versione
>= 0.5.0, <= 2.13.3→ installare l'ultima release supportata dal vendor. - git-lfs git-lfs: vulnerabile la versione
>= 3.0.0, < 3.8.1→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ruotare credenziali e chiavi, limitare l'accesso di rete al servizio e verificare accessi effettuati con credenziali predefinite.
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 |
|---|---|---|---|
| git-lfs | git-lfs | >= 0.5.0, <= 2.13.3 | — |
| git-lfs | git-lfs | >= 3.0.0, < 3.8.1 | — |
Riferimenti
- Riferimentohttps://github.com/git-lfs/git-lfs/commit/12c92e05b3433494d4b8695943e7e230744d77d9
- Riferimentohttps://github.com/git-lfs/git-lfs/commit/256d371024e6d2cf19efe675d8b9ad089785d0a1
- Riferimentohttps://github.com/git-lfs/git-lfs/commit/537203a1fa08fdde4c16288fb039174ff0e692bb
- Riferimentohttps://github.com/git-lfs/git-lfs/commit/d65324a7d5104c7a5dcb8c4959933695c8bc10fa
- Riferimentohttps://github.com/git-lfs/git-lfs/releases/tag/v3.8.1
- Riferimentohttps://github.com/git-lfs/git-lfs/security/advisories/GHSA-x7xj-4j4f-88xr