VDB

ALPINE-CVE-2019-17041

ALPINE-CVE-2019-17041 PUBLISHED CVSS 9.800000190734863 CRITICAL

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.

Risk Scores

CVSS v3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.18rsyslog0, 5.6.2-r0, 5.8.0-r0
Alpine:v3.19rsyslog8.40.0-r2, 8.9.0-r2, 8.9.0-r1
Alpine:v3.13rsyslog8.1908.0-r0, 8.1904.0-r0, 8.18.0-r0
Alpine:v3.8rsyslog8.30.0-r0, 6.2.2-r1, 0
Alpine:v3.15rsyslog5.6.2-r0, 5.8.0-r0, 5.8.5-r0
Alpine:v3.11rsyslog8.9.0-r2, 8.9.0-r2, 8.9.0-r1
Alpine:v3.20rsyslog8.40.0-r0, 0, 5.8.0-r1
Alpine:v3.7rsyslog6.2.2-r1, 0, 5.6.2-r0
Alpine:v3.12rsyslog5.8.7-r1, 6.2.0-r0, 6.2.2-r0
Alpine:v3.17rsyslog8.9.0-r2, 0, 5.6.2-r0
Alpine:v3.9rsyslog8.18.0-r0, 8.2.2-r0, 8.20.0-r0
Alpine:v3.16rsyslog6.4.2-r2, 6.4.2-r1, 6.4.2-r0
Alpine:v3.23rsyslog8.34.0-r0, 8.33.1-r1, 8.33.1-r0
Alpine:v3.10rsyslog5.8.0-r1, 6.4.2-r1, 8.36.0-r0
Alpine:v3.21rsyslog5.8.0-r0, 5.8.0-r1, 5.8.7-r0
Alpine:v3.22rsyslog0, 5.8.5-r0, 5.8.0-r1
Alpine:v3.14rsyslog8.9.0-r2, 8.33.1-r1, 8.33.1-r0

Timeline

  • Oct 7, 2019 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›