Descrizione
When the JAIL_AT_DESC flag is specified, kern_jail_set() and kern_jail_get() released the reference to the caller's current prison before looking up the jail descriptor. If the descriptor lookup failed, error-handling paths released the same reference a second time. An unprivileged local user can trigger a prison reference count underflow, which may cause the prison structure to be freed while still in use. When this is done on the jail host, the bug will generally result in an immediate panic. However, if the user is running in a jail, then it may be possible to exploit the bug to elevate privileges.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8.
Versioni da aggiornare
- Freebsd Freebsd: vulnerabile la versione
15.0→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p1→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p10→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p2→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p3→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p4→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p5→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p6→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p7→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p8→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.0 p9→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.1→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.1 rc2→ installare l'ultima release supportata dal vendor. - Freebsd Freebsd: vulnerabile la versione
15.1 rc3-p1→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Advisory del vendor: security.freebsd.org/advisories/FreeBSD-SA-26:38.jail.asc
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
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 |
|---|---|---|---|
| Freebsd | Freebsd | 15.0 | — |
| Freebsd | Freebsd | 15.0 p1 | — |
| Freebsd | Freebsd | 15.0 p10 | — |
| Freebsd | Freebsd | 15.0 p2 | — |
| Freebsd | Freebsd | 15.0 p3 | — |
| Freebsd | Freebsd | 15.0 p4 | — |
| Freebsd | Freebsd | 15.0 p5 | — |
| Freebsd | Freebsd | 15.0 p6 | — |
| Freebsd | Freebsd | 15.0 p7 | — |
| Freebsd | Freebsd | 15.0 p8 | — |
| Freebsd | Freebsd | 15.0 p9 | — |
| Freebsd | Freebsd | 15.1 | — |
| Freebsd | Freebsd | 15.1 rc2 | — |
| Freebsd | Freebsd | 15.1 rc3-p1 | — |
Riferimenti
- Advisory del vendorhttps://security.freebsd.org/advisories/FreeBSD-SA-26:38.jail.asc