Katalog CVE

CVE-2026-82429

WysokieCVSS 7.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.13%

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

Streszczenie

Podatność typu TOCTOU (time-of-check-time-of-use) w binarnym pliku worker-launcher z uprawnieniami setuid-root w Apache Storm. Program podczas przeglądania drzew katalogów roboczych wywołuje lchown i chmod na pełnych ścieżkach, które są ponownie rozwiązywane po klasyfikacji przez FTS. Złośliwy użytkownik topologii może podmienić katalog pośredni na dowiązanie symboliczne i przekierować uprzywilejowaną operację na dowolny plik w systemie.

Ocena ryzyka

Atakujący uruchamiający kod na węźle supervisor może zmienić właściciela lub uprawnienia dowolnego pliku na hoście, co pozwala na eskalację uprawnień i przełamanie izolacji kontenerów oraz granicy supervisor.run.worker.as.user. Operacja jest powtarzalna, więc nieudane próby nie kosztują atakującego nic.

Rekomendacja

Zaktualizuj Apache Storm do wersji 3.1.0, w której uprzywilejowane przeglądanie działa na deskryptorach plików zamiast na ścieżkach. Pamiętaj, że po aktualizacji należy przebudować i ponownie zainstalować binarny plik worker-launcher — sama wymiana artefaktów Java nie wystarczy. Jeśli aktualizacja nie jest możliwa, nie uruchamiaj niezaufanego kodu topologii na supervisorach z włączonym supervisor.run.worker.as.user.

Inne podatności w Apache Storm

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

Description The setuid-root `worker-launcher` binary adjusts ownership and permissions of worker directories by walking the tree with FTS and calling `lchown` and `chmod` on each entry's full pathname while running with an effective uid of 0. Both syscalls re-resolve the path at the time of the call, after FTS has classified the entry, and the trees being walked are owned and writable by the untrusted topology user. A tenant running code on a supervisor node could therefore replace an intermediate directory component with a symbolic link between classification and the privileged operation, redirecting the root-owned `lchown` or `chmod` at an arbitrary file on the host. The operation is repeatable at will, since crashing a worker forces a relaunch and blob updates re-run the walk, so a failed attempt costs the attacker nothing. This crosses the boundary that `supervisor.run.worker.as.user` and container isolation are intended to enforce. It is the same defect class as the Hadoop container-executor issues from which this code derives. Mitigation Upgrade to 3.1.0, where the privileged walk operates on file descriptors it has already stat'd rather than on pathnames re-resolved at call time. Users who cannot upgrade immediately should not run untrusted topology code on supervisors configured with `supervisor.run.worker.as.user`, since the launcher is the boundary being crossed. Note that the launcher must be rebuilt and reinstalled after upgrading; replacing the Java artifacts alone is not sufficient. Credit The ASF -- found using Claude agents to study the security of open-source projects, validated and reported by Apache Storm.

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