Katalog CVE

CVE-2025-59529

ŚrednieCVSS 5.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.18%

Percentyl 7 - wyżej niż 7% wszystkich znanych CVE

Streszczenie

Podatność w Avahi (do wersji 0.9-rc5) polega na ignorowaniu zdefiniowanego limitu klientów (CLIENTS_MAX) przez prosty serwer protokołu. Serwer bezwarunkowo akceptuje nieograniczoną liczbę połączeń, co pozwala nieuprzywilejowanym lokalnym użytkownikom na wyczerpanie pamięci i deskryptorów plików demona, powodując lokalny atak typu denial of service (DoS). Brak oficjalnej poprawki, ale dostępny jest kandydat w pull requeście 808.

Ocena ryzyka

Atakujący z lokalnym dostępem może wywołać ogólnosystemową niedostępność rozwiązywania nazw mDNS/DNS-SD oraz zwiększone obciążenie systemu z powodu logowania błędów. Może to zakłócić działanie usług zależnych od nss-mdns i rozwiązywania nazw .local.

Rekomendacja

Zastosuj dostępne obejścia: zmień uprawnienia gniazda uniksowego /run/avahi-daemon/socket po starcie demona lub użyj dodatkowych ograniczeń dostępu, takich jak SELinux, aby uniemożliwić niechcianym narzędziom dostęp do gniazda. Monitoruj pull request 808 w celu uzyskania oficjalnej poprawki.

Inne podatności w Avahi

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In versions up to and including 0.9-rc5, the simple protocol server ignores the documented client limit and accepts unlimited connections, allowing for easy local DoS. Although `CLIENTS_MAX` is defined, `server_work()` unconditionally `accept()`s and `client_new()` always appends the new client and increments `n_clients`. There is no check against the limit. When client cannot be accepted as a result of maximal socket number of avahi-daemon, it logs unconditionally error per each connection. Unprivileged local users can exhaust daemon memory and file descriptors, causing a denial of service system-wide for mDNS/DNS-SD. Exhausting local file descriptors causes increased system load caused by logging errors of each of request. Overloading prevents glibc calls using nss-mdns plugins to resolve `*.local.` names and link-local addresses. As of time of publication, no known patched versions are available, but a candidate fix is available in pull request 808, and some workarounds are available. Simple clients are offered for nss-mdns package functionality. It is not possible to disable the unix socket `/run/avahi-daemon/socket`, but resolution requests received via DBus are not affected directly. Tools avahi-resolve, avahi-resolve-address and avahi-resolve-host-name are not affected, they use DBus interface. It is possible to change permissions of unix socket after avahi-daemon is started. But avahi-daemon does not provide any configuration for it. Additional access restrictions like SELinux can also prevent unwanted tools to access the socket and keep resolution working for trusted users.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS