CVE-2019-17042
Last modified
CVE-2019-17042 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco log messages. EPSS estimates a 3.07% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rsyslog | Rsyslog | 8.1908.0 |
| Fedoraproject | Fedora | 30 |
| Fedoraproject | Fedora | 31 |
| Debian | Debian Linux | 9.0 |
| Opensuse | Leap | 15.0 |
| Opensuse | Leap | 15.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.htmlMailing List, Third Party Advisory
- https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLogRelease Notes, Third Party Advisory
- https://github.com/rsyslog/rsyslog/pull/3883Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/11/msg00030.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.htmlMailing List, Third Party Advisory
- https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLogRelease Notes, Third Party Advisory
- https://github.com/rsyslog/rsyslog/pull/3883Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/11/msg00030.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-17042?
How severe is CVE-2019-17042?
How do I fix CVE-2019-17042?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-17037Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2019-17038Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2019-17039Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2019-1704Multiple vulnerabilities in the Server Message Block (SMB) P…7.5
- CVE-2019-17040contrib/pmdb2diag/pmdb2diag.c in Rsyslog v8.1908.0 allows ou…9.8
- CVE-2019-17041An issue was discovered in Rsyslog v8.1908.0. contrib/pmaixf…9.8
- CVE-2019-17043An issue was discovered in BMC Patrol Agent 9.0.10i. Weak ex…7.8
- CVE-2019-17044An issue was discovered in BMC Patrol Agent 9.0.10i. Weak ex…7.8
- CVE-2019-17045Ilch 2.1.22 allows stored XSS via the title, text, or email …4.8
- CVE-2019-17046Ilch 2.1.22 allows remote code execution because php is list…7.2
- CVE-2019-17049NETGEAR SRX5308 4.3.5-3 devices allow SQL Injection, as expl…7.5
- CVE-2019-1705A vulnerability in the remote access VPN session manager of …5.3
Are you affected by CVE-2019-17042?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
