ID CVE-2019-17041
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:rsyslog:rsyslog:8.1908.0:*:*:*:*:*:*:*
    cpe:2.3:a:rsyslog:rsyslog:8.1908.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
  • cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
    cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
  • cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
    cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 06-12-2021 - 18:19)
Impact:
Exploitability:
CWE CWE-787
CAPEC
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat via4
rpms
  • rsyslog-0:8.24.0-52.el7
  • rsyslog-crypto-0:8.24.0-52.el7
  • rsyslog-debuginfo-0:8.24.0-52.el7
  • rsyslog-doc-0:8.24.0-52.el7
  • rsyslog-elasticsearch-0:8.24.0-52.el7
  • rsyslog-gnutls-0:8.24.0-52.el7
  • rsyslog-gssapi-0:8.24.0-52.el7
  • rsyslog-kafka-0:8.24.0-52.el7
  • rsyslog-libdbi-0:8.24.0-52.el7
  • rsyslog-mmaudit-0:8.24.0-52.el7
  • rsyslog-mmjsonparse-0:8.24.0-52.el7
  • rsyslog-mmkubernetes-0:8.24.0-52.el7
  • rsyslog-mmnormalize-0:8.24.0-52.el7
  • rsyslog-mmsnmptrapd-0:8.24.0-52.el7
  • rsyslog-mysql-0:8.24.0-52.el7
  • rsyslog-pgsql-0:8.24.0-52.el7
  • rsyslog-relp-0:8.24.0-52.el7
  • rsyslog-snmp-0:8.24.0-52.el7
  • rsyslog-udpspoof-0:8.24.0-52.el7
  • rsyslog-0:8.1911.0-3.el8
  • rsyslog-crypto-0:8.1911.0-3.el8
  • rsyslog-crypto-debuginfo-0:8.1911.0-3.el8
  • rsyslog-debuginfo-0:8.1911.0-3.el8
  • rsyslog-debugsource-0:8.1911.0-3.el8
  • rsyslog-doc-0:8.1911.0-3.el8
  • rsyslog-elasticsearch-0:8.1911.0-3.el8
  • rsyslog-elasticsearch-debuginfo-0:8.1911.0-3.el8
  • rsyslog-gnutls-0:8.1911.0-3.el8
  • rsyslog-gnutls-debuginfo-0:8.1911.0-3.el8
  • rsyslog-gssapi-0:8.1911.0-3.el8
  • rsyslog-gssapi-debuginfo-0:8.1911.0-3.el8
  • rsyslog-kafka-0:8.1911.0-3.el8
  • rsyslog-kafka-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmaudit-0:8.1911.0-3.el8
  • rsyslog-mmaudit-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmjsonparse-0:8.1911.0-3.el8
  • rsyslog-mmjsonparse-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmkubernetes-0:8.1911.0-3.el8
  • rsyslog-mmkubernetes-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmnormalize-0:8.1911.0-3.el8
  • rsyslog-mmnormalize-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmsnmptrapd-0:8.1911.0-3.el8
  • rsyslog-mmsnmptrapd-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mysql-0:8.1911.0-3.el8
  • rsyslog-mysql-debuginfo-0:8.1911.0-3.el8
  • rsyslog-pgsql-0:8.1911.0-3.el8
  • rsyslog-pgsql-debuginfo-0:8.1911.0-3.el8
  • rsyslog-relp-0:8.1911.0-3.el8
  • rsyslog-relp-debuginfo-0:8.1911.0-3.el8
  • rsyslog-snmp-0:8.1911.0-3.el8
  • rsyslog-snmp-debuginfo-0:8.1911.0-3.el8
refmap via4
confirm
fedora
  • FEDORA-2019-1fb95ae48d
  • FEDORA-2019-ea7d5876a4
suse
  • openSUSE-SU-2019:2500
  • openSUSE-SU-2019:2501
Last major update 06-12-2021 - 18:19
Published 07-10-2019 - 16:15
Last modified 06-12-2021 - 18:19
Back to Top