9.8
CRITICAL
CVE-2019-17041
Apache Rsyslog AIX Log Message Heap Overflow Vulnerability
Description

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.

INFO

Published Date :

Oct. 7, 2019, 4:15 p.m.

Last Modified :

Nov. 7, 2023, 3:06 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2019-17041 has a 4 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-17041 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.

ID Vendor Product Action
1 Fedoraproject fedora
1 Debian debian_linux
1 Opensuse leap
1 Rsyslog rsyslog

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

Updated: 2 years, 7 months ago
1 stars 0 fork 0 watcher
Born at : June 20, 2021, 9:24 p.m. This repo has been linked 13 different CVEs too.

None

Updated: 8 months, 1 week ago
33 stars 3 fork 3 watcher
Born at : March 12, 2021, 12:22 p.m. This repo has been linked 1063 different CVEs too.

None

Updated: 1 year, 3 months ago
17 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1050 different CVEs too.

None

Makefile C Shell M4 C++ Yacc Lex Python Ruby Tcl

Updated: 1 year, 10 months ago
0 stars 1 fork 1 watcher
Born at : Dec. 5, 2020, 7:49 a.m. This repo has been linked 1 different CVEs too.

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-17041 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-17041 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-20
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    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: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/3884 No Types Assigned https://github.com/rsyslog/rsyslog/pull/3884 Patch, Third Party Advisory
    Added CWE NIST CWE-120
    Added CPE Configuration OR *cpe:2.3:a:rsyslog:rsyslog:8.1908.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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-17041 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-17041 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.61 }} -0.10%

score

0.79006

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability