cve.bz

CVE-2019-17042 Improper Input Validation

9.8 criticalEPSS 3.0%Fix available

Critical (9.8). EPSS 3.0% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco 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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-17042 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-17042?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-17042?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-17042 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rsyslog:rsyslog8.1908.0
fedoraproject:fedora30
fedoraproject:fedora31
debian:debian_linux9.0
opensuse:leap15.0
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8rsyslog8.4.2-1+deb8u3DLA-1952-1
Debian9rsyslog8.24.0-1+deb9u1DLA-2835-1
Debian12, 13, 14rsyslog8.1910.0-1DEBIAN-CVE-2019-17042
Ubuntu14.04:LTS, Pro:18.04:LTSrsyslogno fix listedUBUNTU-CVE-2019-17042
UbuntuPro:16.04:LTSrsyslog8.16.0-1ubuntu3.1+esm1UBUNTU-CVE-2019-17042 USN-5419-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morersyslog, rsyslog-doc, rsyslog-relp and 16 more0:8.24.0-52.el7RHSA-2020:1000
Red Hatenterprise_linux:8::appstreamrsyslog, rsyslog-doc, rsyslog-relp and 29 more0:8.1911.0-3.el8RHSA-2020:1702
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server 12 SP5 and 2 morersyslog8.24.0-3.33.2SUSE-RU-2019:2816-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 and 1 morersyslog8.33.1-3.22.4SUSE-SU-2019:2937-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1rsyslog8.4.0-13.8.1SUSE-SU-2020:0424-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morersyslog8.4.0-18.13.1SUSE-SU-2020:0512-1
openSUSELeap 15.0rsyslog8.33.1-lp150.2.19.1openSUSE-SU-2019:2500-1
openSUSELeap 15.1rsyslog8.33.1-lp151.6.10.1openSUSE-SU-2019:2501-1
Alpinev3.7rsyslog8.31.0-r1ALPINE-CVE-2019-17042
Alpinev3.8rsyslog8.34.0-r1ALPINE-CVE-2019-17042
Alpinev3.9rsyslog8.40.0-r4ALPINE-CVE-2019-17042
Alpinev3.10rsyslog8.1904.0-r1ALPINE-CVE-2019-17042
Alpinev3.11, v3.12, v3.13 and 11 morersyslog8.1908.0-r1ALPINE-CVE-2019-17042

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Tower 3.5 for RHEL 7ansible-tower-35/ansible-tower:3.5.6-1Fixed 2020-04-22RHBA-2020:1539
Red Hat Ansible Tower 3.6 for RHEL 7ansible-tower-36/ansible-tower:3.6.4-1Fixed 2020-04-22RHBA-2020:1540
Red Hat Enterprise Linux 7rsyslog-0:8.24.0-52.el7Fixed 2020-03-31RHSA-2020:1000
Red Hat Enterprise Linux 8rsyslog-0:8.1911.0-3.el8Fixed 2020-04-28RHSA-2020:1702
Red Hat Enterprise Linux 5rsyslogNot affected
Red Hat Enterprise Linux 5rsyslog5Not affected
Red Hat Enterprise Linux 6rsyslogOut of support scope
Red Hat Enterprise Linux 6rsyslog7Out of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-17042.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON