CVE-2019-17042
Cisco Rsyslog Heap Overflow Vulnerability
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.
INFO
Published Date :
Oct. 7, 2019, 4:15 p.m.
Last Modified :
Nov. 7, 2023, 3:06 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2019-17042 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2019-17042
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-17042
.
URL | Resource |
---|---|
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html | Mailing List Third Party Advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html | Mailing List Third Party Advisory |
https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog | Release Notes Third Party Advisory |
https://github.com/rsyslog/rsyslog/pull/3883 | Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/11/msg00030.html | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/ | |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/ |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-17042
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-17042
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/ -
Modified Analysis by [email protected]
Dec. 06, 2021
Action Type Old Value New Value Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html Mailing List, Third Party Advisory Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html Mailing List, Third Party Advisory Changed Reference Type https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog Release Notes https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog Release Notes, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/11/msg00030.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/11/msg00030.html Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/ Mailing List, Third Party Advisory Removed CWE NIST CWE-787 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* *cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 01, 2021
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2021/11/msg00030.html [No Types Assigned] -
CWE Remap by [email protected]
Jul. 21, 2021
Action Type Old Value New Value Changed CWE CWE-120 CWE-20 CWE-787 -
CVE Modified by [email protected]
Nov. 24, 2019
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/KPNCHI7X2IEXRH6RYD6IDPR4PLB5RPC7/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 22, 2019
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/W6SUQE25RD37CD24BHKUWMG27U5RQ2FU/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 14, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00032.html [No Types Assigned] -
CVE Modified by [email protected]
Nov. 14, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00031.html [No Types Assigned] -
Initial Analysis by [email protected]
Oct. 15, 2019
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog No Types Assigned https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog Release Notes Changed Reference Type https://github.com/rsyslog/rsyslog/pull/3883 No Types Assigned https://github.com/rsyslog/rsyslog/pull/3883 Patch, Third Party Advisory Added CWE NIST CWE-120 Added CPE Configuration OR *cpe:2.3:a:rsyslog:rsyslog:8.1908.0:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-17042
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-17042
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.81 }} 0.15%
score
0.82078
percentile