Descrizione
Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 4.5.0, the afpd FPSpotlightRPC unmarshalling handlers in etc/afpd/spotlight_marshalling.c trust the element count encoded in the upper 32 bits of an RPC tag without comparing it with the remaining input length. An authenticated client with access to a Spotlight-enabled volume can make sl_unpack_ints, sl_unpack_date, sl_unpack_uuid, or sl_unpack_floats iterate beyond dsi->commands and read heap memory. The read values remain in internal dalloc storage and no information-disclosure channel was demonstrated, but the worker serving the attacker's session can be crashed. This issue is fixed in version 4.5.0.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.1, EPSS 0.8% (percentile 52).
Versioni da aggiornare
- Netatalk netatalk: vulnerabile la versione
>= 3.1.0, < 4.5.0→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
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 |
|---|---|---|---|
| Netatalk | netatalk | >= 3.1.0, < 4.5.0 | — |
Riferimenti
- Riferimentohttps://github.com/Netatalk/netatalk/commit/117c7679642a0b4c986ea68d51f6a7fc655527fd
- Riferimentohttps://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-0
- Riferimentohttps://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48
- Riferimentohttps://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48