CVE-2019-17041
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | rsyslog | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | rsyslog | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rsyslog | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rsyslog | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | rsyslog | Fix pending | UBUNTU-CVE-2019-17041 | |
| Ubuntu 16.04 | rsyslog | Fix pending | 8.16.0-1ubuntu3.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2019-17041 |
| Ubuntu 14.04 | rsyslog | Fix pending | UBUNTU-CVE-2019-17041 | |
| Debian 14 | rsyslog | Fixed | 8.1910.0-1 | DEBIAN-CVE-2019-17041 |
| Debian 13 | rsyslog | Fixed | 8.1910.0-1 | DEBIAN-CVE-2019-17041 |
| Debian 12 | rsyslog | Fixed | 8.1910.0-1 | DEBIAN-CVE-2019-17041 |
| Red Hat Enterprise Linux 8 | rsyslog | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-crypto | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-doc | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-elasticsearch | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-gnutls | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-gssapi | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-kafka | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-mmaudit | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-mmjsonparse | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-mmkubernetes | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-mmnormalize | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-mmsnmptrapd | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-mysql | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-pgsql | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-relp | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 8 | rsyslog-snmp | Fixed | 0:8.1911.0-3.el8 | RHSA-2020:1702 |
| Red Hat Enterprise Linux 7 | rsyslog | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-crypto | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-doc | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-elasticsearch | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-gnutls | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-gssapi | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-kafka | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-libdbi | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-mmaudit | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-mmjsonparse | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-mmkubernetes | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-mmnormalize | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-mmsnmptrapd | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-mysql | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-pgsql | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-relp | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-snmp | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 7 | rsyslog-udpspoof | Fixed | 0:8.24.0-52.el7 | RHSA-2020:1000 |
| Red Hat Enterprise Linux 6 | rsyslog | Not affected | ||
| Red Hat Enterprise Linux 6 | rsyslog-gnutls | Not affected | ||
| Red Hat Enterprise Linux 6 | rsyslog-gssapi | Not affected | ||
| Red Hat Enterprise Linux 6 | rsyslog-mysql | Not affected | ||
| Red Hat Enterprise Linux 6 | rsyslog-pgsql | Not affected | ||
| Red Hat Enterprise Linux 6 | rsyslog-relp | Not affected | ||
| Red Hat Enterprise Linux 6 | rsyslog-snmp | Not affected | ||
| Red Hat Enterprise Linux 6 | rsyslog7 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | rsyslog7-elasticsearch | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | rsyslog7-gnutls | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | rsyslog7-gssapi | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | rsyslog7-mysql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | rsyslog7-pgsql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | rsyslog7-relp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | rsyslog7-snmp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | rsyslog | Not affected | ||
| Red Hat Enterprise Linux 5 | rsyslog5 | Not affected | ||
| Alpine Linux 3.24 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.23 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.22 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.21 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.20 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.19 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.18 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.17 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.16 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.15 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.14 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.13 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.12 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.11 | rsyslog | Fixed | 8.1908.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.10 | rsyslog | Fixed | 8.1904.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.9 | rsyslog | Fixed | 8.40.0-r4 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.8 | rsyslog | Fixed | 8.34.0-r1 | ALPINE-CVE-2019-17041 |
| Alpine Linux 3.7 | rsyslog | Fixed | 8.31.0-r1 | ALPINE-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:
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog
- https://github.com/rsyslog/rsyslog/pull/3884
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/
- https://lists.debian.org/debian-lts-announce/2021/11/msg00030.html
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.