Katalog CVE

CVE-2025-27148

Wysokie
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Gradle to narzędzie do automatyzacji budowy, które na systemach podobnych do Unix może tworzyć katalog tymczasowy z otwartymi uprawnieniami. Wersje net.rubygrapefruit:native-platform przed 0.22-milestone-28 mogą być podatne na eskalację uprawnień lokalnych przez atakującego, który szybko usuwa i tworzy pliki w tym katalogu.

Ocena ryzyka

Organizacje mogą być narażone na lokalną eskalację uprawnień, co może prowadzić do nieautoryzowanego dostępu do systemu i potencjalnych szkód w infrastrukturze IT.

Rekomendacja

Zaleca się aktualizację do wersji net.rubygrapefruit:native-platform 0.22-milestone-28 lub nowszej, aby zminimalizować ryzyko związane z tą podatnością.

Powiązane podatności

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

Gradle is a build automation tool, and its native-platform tool provides Java bindings for native APIs. On Unix-like systems, the system temporary directory can be created with open permissions that allow multiple users to create and delete files within it. This library initialization could be vulnerable to a local privilege escalation from an attacker quickly deleting and recreating files in the system temporary directory. Gradle builds that rely on versions of net.rubygrapefruit:native-platform prior to 0.22-milestone-28 could be vulnerable to a local privilege escalation from an attacker quickly deleting and recreating files in the system temporary directory. In net.rubygrapefruit:native-platform prior to version 0.22-milestone-28, if the `Native.get(Class<>)` method was called, without calling `Native.init(File)` first, with a non-`null` argument used as working file path, then the library would initialize itself using the system temporary directory and NativeLibraryLocator.java l

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