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

exploitDog

redhat логотип

CVE-2024-8006

Опубликовано: 31 авг. 2024
Источник: redhat
CVSS3: 4.4

Описание

Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.

A flaw was found in the libpcap library. When remote packet capture support is enabled, it is possible to trigger a NULL pointer dereference when a filesystem path that is not a directory is used as an argument to the pcap_findalldevs_ex function due to a missing check of the return value from the opendir function, resulting in a denial of service.

Отчет

The libpcap library as shipped in Red Hat Enterprise Linux 8, 9 and in Red Hat OpenShift Container Platform 4 is not affected by this vulnerability because the remote packet capture support is disabled.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10libpcapNot affected
Red Hat Enterprise Linux 6libpcapOut of support scope
Red Hat Enterprise Linux 7libpcapOut of support scope
Red Hat Enterprise Linux 8libpcapNot affected
Red Hat Enterprise Linux 9libpcapNot affected
Red Hat OpenShift Container Platform 4rhcosNot affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-476
https://bugzilla.redhat.com/show_bug.cgi?id=2308785libpcap: NULL pointer derefence in pcap_findalldevs_ex() in pcap-new.c

4.4 Medium

CVSS3

Связанные уязвимости

CVSS3: 4.4
ubuntu
10 месяцев назад

Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.

CVSS3: 4.4
nvd
10 месяцев назад

Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.

CVSS3: 4.4
msrc
8 месяцев назад

Описание отсутствует

CVSS3: 4.4
debian
10 месяцев назад

Remote packet capture support is disabled by default in libpcap. When ...

CVSS3: 4.4
redos
10 месяцев назад

Уязвимость libpcap

4.4 Medium

CVSS3