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

exploitDog

redhat логотип

CVE-2024-25629

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

Описание

c-ares is a C library for asynchronous DNS requests. ares__read_line() is used to parse local configuration files such as /etc/resolv.conf, /etc/nsswitch.conf, the HOSTALIASES file, and if using a c-ares version prior to 1.27.0, the /etc/hosts file. If any of these configuration files has an embedded NULL character as the first character in a new line, it can lead to attempting to read memory prior to the start of the given buffer which may result in a crash. This issue is fixed in c-ares 1.27.0. No known workarounds exist.

A vulnerability was found in c-ares where the ares__read_line() is used to parse local configuration files such as /etc/resolv.conf, /etc/nsswitch.conf, the HOSTALIASES file, and if using a c-ares version prior to 1.22.0, the /etc/hosts file. If the configuration files have an embedded NULL character as the first character in a new line, it can attempt to read memory before the start of the given buffer, which may result in a crash.

Отчет

Red Hat considers this a Low impact since this issue requires a specific configuration file to be configured incorrectly, meaning an attacker would need access to this configuration file to impact the server. This would normally correspond to an already compromised environment.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10c-aresAffected
Red Hat Enterprise Linux 10nodejs20Not affected
Red Hat Enterprise Linux 6c-aresOut of support scope
Red Hat Enterprise Linux 7c-aresOut of support scope
Red Hat Enterprise Linux 8nodejs:16/nodejsFix deferred
Red Hat Software Collectionsrh-nodejs14-nodejsFix deferred
Red Hat Enterprise Linux 8nodejsFixedRHSA-2024:277809.05.2024
Red Hat Enterprise Linux 8nodejsFixedRHSA-2024:278009.05.2024
Red Hat Enterprise Linux 8c-aresFixedRHSA-2024:424902.07.2024
Red Hat Enterprise Linux 9nodejsFixedRHSA-2024:277909.05.2024

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

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

Статус:

Low
Дефект:
CWE-127
https://bugzilla.redhat.com/show_bug.cgi?id=2265713c-ares: Out of bounds read in ares__read_line()

4.4 Medium

CVSS3

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

CVSS3: 4.4
ubuntu
больше 1 года назад

c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used to parse local configuration files such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, the `HOSTALIASES` file, and if using a c-ares version prior to 1.27.0, the `/etc/hosts` file. If any of these configuration files has an embedded `NULL` character as the first character in a new line, it can lead to attempting to read memory prior to the start of the given buffer which may result in a crash. This issue is fixed in c-ares 1.27.0. No known workarounds exist.

CVSS3: 4.4
nvd
больше 1 года назад

c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used to parse local configuration files such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, the `HOSTALIASES` file, and if using a c-ares version prior to 1.27.0, the `/etc/hosts` file. If any of these configuration files has an embedded `NULL` character as the first character in a new line, it can lead to attempting to read memory prior to the start of the given buffer which may result in a crash. This issue is fixed in c-ares 1.27.0. No known workarounds exist.

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

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

CVSS3: 4.4
debian
больше 1 года назад

c-ares is a C library for asynchronous DNS requests. `ares__read_line( ...

suse-cvrf
около 1 года назад

Security update for c-ares

4.4 Medium

CVSS3