PT-2019-4785 · Rsyslog+5 · Rsyslog+5

Published

2019-09-30

·

Updated

2022-05-12

·

CVE-2019-17041

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Rsyslog version 8.1908.0
Description The issue is related to a heap overflow in the parser for AIX log messages in Rsyslog. This occurs when the parser fails to account for strings that do not satisfy the constraint of having a log message delimiter, such as a space or a colon. As a result, the variable lenMsg reaches zero, skips the sanity check for invalid log messages, and is then decremented to minus one. This causes the parser to interpret lenMsg as a huge value when calling memmove, leading to a heap overflow. The exploitation of this issue may allow a remote attacker to impact the confidentiality, integrity, and availability of protected information.
Recommendations For Rsyslog version 8.1908.0, consider disabling the pmaixforwardedfrom module until a patch is available to prevent the heap overflow in the AIX log message parser. Restrict access to the contrib/pmaixforwardedfrom/pmaixforwardedfrom.c component to minimize the risk of exploitation. Avoid using the lenMsg variable in the affected parser until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Memory Corruption

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2020-01363
CESA-2020_1000
CESA-2020_1702
CVE-2019-17041
DLA-1952-1
DLA-2835-1
MGASA-2019-0400
OPENSUSE-SU-2019:2500-1
OPENSUSE-SU-2019:2501-1
OPENSUSE-SU-2019_2500-1
OPENSUSE-SU-2019_2501-1
RHSA-2020:1000
RHSA-2020:1702
RHSA-2020_1000
RHSA-2020_1702
SUSE-RU-2019:2816-1
SUSE-SU-2019:2937-1
SUSE-SU-2019_2937-1
SUSE-SU-2020:0424-1
SUSE-SU-2020:0512-1
SUSE-SU-2020_0424-1
SUSE-SU-2020_0512-1
USN-5419-1

Affected Products

Astra Linux
Centos
Red Hat
Rsyslog
Suse
Ubuntu