CVEfocus › CVE database › CVE-2019-17041

CVE-2019-17041

CVSS 9.8 CriticalEPSS 4.4% (higher than 92% of CVEs)Published 2019-10-07Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

55Fixed
3Fix pending
8Will not fix
13Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04rsyslogNot affected
vulnerable_code_not_present
Ubuntu 25.10rsyslogNot affected
vulnerable_code_not_present
Ubuntu 24.04rsyslogNot affected
vulnerable_code_not_present
Ubuntu 22.04rsyslogNot affected
vulnerable_code_not_present
Ubuntu 18.04rsyslogFix pendingUBUNTU-CVE-2019-17041
Ubuntu 16.04rsyslogFix pending8.16.0-1ubuntu3.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-17041
Ubuntu 14.04rsyslogFix pendingUBUNTU-CVE-2019-17041
Debian 14rsyslogFixed8.1910.0-1DEBIAN-CVE-2019-17041
Debian 13rsyslogFixed8.1910.0-1DEBIAN-CVE-2019-17041
Debian 12rsyslogFixed8.1910.0-1DEBIAN-CVE-2019-17041
Red Hat Enterprise Linux 8rsyslogFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-cryptoFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-docFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-elasticsearchFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-gnutlsFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-gssapiFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-kafkaFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-mmauditFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-mmjsonparseFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-mmkubernetesFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-mmnormalizeFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-mmsnmptrapdFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-mysqlFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-pgsqlFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-relpFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 8rsyslog-snmpFixed0:8.1911.0-3.el8RHSA-2020:1702
Red Hat Enterprise Linux 7rsyslogFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-cryptoFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-docFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-elasticsearchFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-gnutlsFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-gssapiFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-kafkaFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-libdbiFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-mmauditFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-mmjsonparseFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-mmkubernetesFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-mmnormalizeFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-mmsnmptrapdFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-mysqlFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-pgsqlFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-relpFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-snmpFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 7rsyslog-udpspoofFixed0:8.24.0-52.el7RHSA-2020:1000
Red Hat Enterprise Linux 6rsyslogNot affected
Red Hat Enterprise Linux 6rsyslog-gnutlsNot affected
Red Hat Enterprise Linux 6rsyslog-gssapiNot affected
Red Hat Enterprise Linux 6rsyslog-mysqlNot affected
Red Hat Enterprise Linux 6rsyslog-pgsqlNot affected
Red Hat Enterprise Linux 6rsyslog-relpNot affected
Red Hat Enterprise Linux 6rsyslog-snmpNot affected
Red Hat Enterprise Linux 6rsyslog7Will not fix
Out of support scope
Red Hat Enterprise Linux 6rsyslog7-elasticsearchWill not fix
Out of support scope
Red Hat Enterprise Linux 6rsyslog7-gnutlsWill not fix
Out of support scope
Red Hat Enterprise Linux 6rsyslog7-gssapiWill not fix
Out of support scope
Red Hat Enterprise Linux 6rsyslog7-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6rsyslog7-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6rsyslog7-relpWill not fix
Out of support scope
Red Hat Enterprise Linux 6rsyslog7-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 5rsyslogNot affected
Red Hat Enterprise Linux 5rsyslog5Not affected
Alpine Linux 3.24rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.23rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.22rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.21rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.20rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.19rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.18rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.17rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.16rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.15rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.14rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.13rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.12rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.11rsyslogFixed8.1908.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.10rsyslogFixed8.1904.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.9rsyslogFixed8.40.0-r4ALPINE-CVE-2019-17041
Alpine Linux 3.8rsyslogFixed8.34.0-r1ALPINE-CVE-2019-17041
Alpine Linux 3.7rsyslogFixed8.31.0-r1ALPINE-CVE-2019-17041

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.