Описание
A flaw was found in rsyslog. An unauthenticated remote attacker can trigger a heap buffer overflow in the RainerScript replace() function by sending specially crafted syslog messages. This vulnerability arises from an incorrect buffer size calculation during string replacement, causing memory corruption. Successful exploitation can lead to a denial of service (DoS) for the affected system.
Отчет
This Important flaw in rsyslog allows an unauthenticated remote attacker to trigger a heap buffer overflow, leading to a denial of service. The vulnerability occurs when processing specially crafted syslog messages containing specific RainerScript replace() function calls. Red Hat Enterprise Linux systems configured to receive remote syslog messages are susceptible to this issue, potentially impacting logging availability.
Меры по смягчению последствий
To mitigate this vulnerability, restrict network access to the rsyslog service to only trusted hosts. This can be achieved by configuring firewall rules to limit incoming connections to UDP and TCP port 514. Alternatively, if remote syslog reception is not required, disable the imudp and imtcp modules in the /etc/rsyslog.conf configuration file. After modifying the rsyslog configuration or firewall rules, the rsyslog service or firewall service must be restarted for the changes to take effect.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | rsyslog | Affected | ||
| Red Hat Enterprise Linux 6 | rsyslog | Affected | ||
| Red Hat Enterprise Linux 6 | rsyslog7 | Affected | ||
| Red Hat Enterprise Linux 7 | rsyslog | Affected | ||
| Red Hat Enterprise Linux 8 | rsyslog | Affected | ||
| Red Hat Enterprise Linux 9 | rhel9/rsyslog | Affected | ||
| Red Hat Enterprise Linux 9 | rsyslog | Affected |
Показывать по
Дополнительная информация
Статус:
7.5 High
CVSS3
Связанные уязвимости
A flaw was found in rsyslog. An unauthenticated remote attacker can trigger a heap buffer overflow in the RainerScript `replace()` function by sending specially crafted syslog messages. This vulnerability arises from an incorrect buffer size calculation during string replacement, causing memory corruption. Successful exploitation can lead to a denial of service (DoS) for the affected system.
A flaw was found in rsyslog. An unauthenticated remote attacker can trigger a heap buffer overflow in the RainerScript `replace()` function by sending specially crafted syslog messages. This vulnerability arises from an incorrect buffer size calculation during string replacement, causing memory corruption. Successful exploitation can lead to a denial of service (DoS) for the affected system.
Rsyslog: rsyslog: denial of service via heap buffer overflow in rainerscript replace() function
A flaw was found in rsyslog. An unauthenticated remote attacker can tr ...
7.5 High
CVSS3