CVE-2019-17041

Description

An issue was discovered in Rsyslog v8.1908.0. contrib/pmaixforwardedfrom/pmaixforwardedfrom.c has a heap overflow in the parser for AIX log messages. The parser tries to locate a log message delimiter (in this case, a space or a colon) but fails to account for strings that do not satisfy this constraint. If the string does not match, then the variable lenMsg will reach the value zero and will skip the sanity check that detects invalid log messages. The message will then be considered valid, and the parser will eat up the nonexistent colon delimiter. In doing so, it will decrement lenMsg, a signed integer, whose value was zero and now becomes minus one. The following step in the parser is to shift left the contents of the message. To do this, it will call memmove with the right pointers to the target and destination strings, but the lenMsg will now be interpreted as a huge value, causing a heap overflow.

Risk Information

Base Score
9.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
1.796

Associated Vulnerability

VulnerabilityOS Platform
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-crypto-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-debugsource-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-doc-8.1911.0-3.el8.noarch.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-elasticsearch-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-gnutls-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-gssapi-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-kafka-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmaudit-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmjsonparse-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmkubernetes-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmnormalize-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmsnmptrapd-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mysql-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-pgsql-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-relp-8.1911.0-3.el8.x86_64.rpmLinux
(RHSA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-snmp-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-crypto-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-doc-8.1911.0-3.el8.noarch.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-elasticsearch-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-gnutls-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-gssapi-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-kafka-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmaudit-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmjsonparse-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmkubernetes-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmnormalize-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mmsnmptrapd-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-mysql-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-pgsql-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-relp-8.1911.0-3.el8.x86_64.rpmLinux
(CESA-2020:1702) rsyslog security, bug fix, and enhancement update rsyslog-snmp-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog update (ELSA-2020-1702) rsyslog-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-crypto update (ELSA-2020-1702) rsyslog-crypto-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-doc update (ELSA-2020-1702) rsyslog-doc-8.1911.0-3.el8.noarch.rpmLinux
Rsyslog-elasticsearch update (ELSA-2020-1702) rsyslog-elasticsearch-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-gnutls update (ELSA-2020-1702) rsyslog-gnutls-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-gssapi update (ELSA-2020-1702) rsyslog-gssapi-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-kafka update (ELSA-2020-1702) rsyslog-kafka-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-mmaudit update (ELSA-2020-1702) rsyslog-mmaudit-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-mmjsonparse update (ELSA-2020-1702) rsyslog-mmjsonparse-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-mmkubernetes update (ELSA-2020-1702) rsyslog-mmkubernetes-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-mmnormalize update (ELSA-2020-1702) rsyslog-mmnormalize-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-mmsnmptrapd update (ELSA-2020-1702) rsyslog-mmsnmptrapd-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-mysql update (ELSA-2020-1702) rsyslog-mysql-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-pgsql update (ELSA-2020-1702) rsyslog-pgsql-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-relp update (ELSA-2020-1702) rsyslog-relp-8.1911.0-3.el8.x86_64.rpmLinux
Rsyslog-snmp update (ELSA-2020-1702) rsyslog-snmp-8.1911.0-3.el8.x86_64.rpmLinux
Out-of-bounds Write Vulnerability (CVE-2019-17041)NCM

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234