Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-655h-hg88-5qmf

Опубликовано: 22 авг. 2025
Источник: github
Github: Прошло ревью
CVSS4: 1.7

Описание

Rust XCB xcb::Connection::connect_to_fd* functions violate I/O safety

The API of xcb::Connection has constructors which allow an arbitrary RawFd to be used as a socket connection. On either failure of these constructors or on the drop of Connection, it closes the associated file descriptor. Thus, a program which uses an OwnedFd (such as a UnixStream) as the file descriptor can close the file descriptor and continue to attempt using it or close an already-closed file descriptor, violating I/O safety.

Starting in version 1.6.0, xcb provides Connection::connect_with_fd and Connection::connect_with_fd_and_extensions as safe alternatives and deprecates the problematic functions.

Пакеты

Наименование

xcb

rust
Затронутые версииВерсия исправления

< 1.6.0

1.6.0

1.7 Low

CVSS4

Дефекты

CWE-666
CWE-672

1.7 Low

CVSS4

Дефекты

CWE-666
CWE-672