Katalog CVE

CVE-2024-43374

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.10%

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

Streszczenie

W edytorze UNIX Vim przed wersją 9.1.0678 występuje błąd use-after-free w obsłudze listy argumentów. Dodanie nowego pliku do listy argumentów może wywołać autokomendy `Buf*`, które w przypadku zamknięcia bufora prowadzą do uwolnienia struktury okna, co skutkuje błędem use-after-free.

Ocena ryzyka

Ryzyko dla organizacji jest niskie, ponieważ użytkownik musi celowo dodać nietypowe autokomendy, które usuwają bufor podczas jego tworzenia. Niemniej jednak, błąd ten może spowodować awarię edytora Vim.

Rekomendacja

Zaleca się aktualizację edytora Vim do wersji 9.1.0678 lub nowszej, aby usunąć tę podatność.

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

The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling. When adding a new file to the argument list, this triggers `Buf*` autocommands. If in such an autocommand the buffer that was just opened is closed (including the window where it is shown), this causes the window structure to be freed which contains a reference to the argument list that we are actually modifying. Once the autocommands are completed, the references to the window and argument list are no longer valid and as such cause an use-after-free. Impact is low since the user must either intentionally add some unusual autocommands that wipe a buffer during creation (either manually or by sourcing a malicious plugin), but it will crash Vim. The issue has been fixed as of Vim patch v9.1.0678.

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